[R] Aggregate

Jagat Sheth shethj at epi.wustl.edu
Mon Nov 6 15:48:04 CET 2000


Hello to all,

I recently downloaded R to my PC and am enjoying getting acquainted with it. Thank you to everyone involved in the R-project!

I am interested in doing a log-linear analysis with R on a data set with dichotomous variables. There are 11 variables (columns) and around 1000 subjects (rows).  How do I aggregate my data, i.e. how do I make a new dataset that includes the variable giving  the counts for rows with the same configuration of responses? I know this is possible using the package 'cfa' (configural frequency analysis, a contributed package in R) but I can't coerce the output from the cfa command into a data frame. 
 Any suggestions would be greatly appreciated.  Thanks!

Jagat Sheth
Washington University in St. Louis
Department of Psychiatry
40 N. Kingshighway 
St. Louis, MO 63108
Tel: (314) 286-2253
Fax: (314) 286-2265
email: shethj at epi.wustl.edu 


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list