[R] Interaction of a dynamic number of factors

Nigel Birney nan23 at cam.ac.uk
Mon Apr 13 14:39:37 CEST 2009


Hi, I have a dynamic table structure consisting of N factors (e.g. columns
Factor_1, Factor_2,..Factor_N). 

I want to construct a table that has as rows the level combinations of
factors F_1..F_n-1, and as columns the levels of the factor Fn. The cells of
the table would contain the number of cases that correspond to these level
combinations. How can I do this?

-- 
View this message in context: http://www.nabble.com/Interaction-of-a-dynamic-number-of-factors-tp23021835p23021835.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list