Displaying 1 result from an estimated 1 matches for "q10_1".
Did you mean:
q101
2004 Nov 29
1
Seeking help with a simple loop construction
Hello,
I have a df, pp, with five variables:
> nobs(pp)
q10_1 q10_2 q10_3 q10_4 actcode
1620 1620 1620 1620 1620
I want to create a loop to run four xtabs (the first four variables above by the fifth) and then store the results in a matrix. Below I make my intent clear by showing the output of one xtab which is inserted into a matrix....