I have a dataset of dummy variables that look like this - (Both tables the same - some problems viewing as image) Contact Var1 Var2 Var3 Var4 Var5 Var6 A 1 1 1 1 1 1 B 1 1 C 1 1 1 1 D 1 1 E 1 1 F 1 1 What I need is to do a frequency count of all the variable pairings so that I get a table that looks like this - Variable Var1 Var2 Var3 Var4 Var5 Var6 Var1 2 2 1 1 2 Var2 2 3 1 1 2 Var3 2 3 1 1 2 Var4 1 1 1 2 1 Var5 1 1 1 2 1 Var6 2 2 2 1 1 Does anyone have any ideas how to achieve this? Thanks.
... View more