Re: [R] how to calculate summary statistics for each factor

2010-07-07 Thread karena
yeah, both work. Thank you, guys... -- View this message in context: http://r.789695.n4.nabble.com/how-to-calculate-summary-statistics-for-each-factor-tp2279777p2281532.html Sent from the R help mailing list archive at Nabble.com. __

[R] how to calculate summary statistics for each factor

2010-07-06 Thread karena
I have a dataset like the following: subject class value 123110 1241 12 125112 223223 224 2 18 225 219 3233 21 324 3 10 325 3

Re: [R] how to calculate summary statistics for each factor

2010-07-06 Thread Erik Iverson
?tapply is one way. karena wrote: I have a dataset like the following: subject class value 123110 1241 12 125112 223223 224 2 18 225 219 3233 21 324

Re: [R] how to calculate summary statistics for each factor

2010-07-06 Thread Andrew Miles
You could try Summarize in the NCStats package, or aggregate in the epicalc package. Andrew Miles Department of Sociology Duke University On Jul 6, 2010, at 11:53 AM, karena wrote: I have a dataset like the following: subject class value 123110 1241