Survey crosstab with marginals
P1
P2
P3
P4
P5
P6
P7
A
B
C
D
E
F
column totals
row totals