analyzeInteraction & anlayzeBy

analyzeInteraction: working but need more column

analyzeBy: skeleton completed but not the whole structure