[R] Group by in R
Nick Angelou
nikolay12 at yahoo.com
Mon Apr 13 12:33:56 CEST 2009
Hi,
I have the following table data:
f1, f2, f3, f4.
I want to compute the counts of unique combinations of f1-f4. In SQL I would
just write:
SELECT COUNT(*) FROM <table> GROUP BY f1, f2, ..,f4.
How to do this in R?
Thanks,
Nick
--
View this message in context: http://www.nabble.com/Group-by-in-R-tp23020587p23020587.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list