[R] DF grouping
karthicklakshman
karthick.lakshman at gmail.com
Sun Feb 12 16:07:26 CET 2012
Hello Members,
I need to group a data.frame in a a specific way, like shown below,
DF raw is like this,
id col1 col2 score
1 A B 40
2 B C 55
3 C D 4000
4 D E 100
5 E F 300
I want the out put as
List
[1]
A B C
[2]
D E
[3]
F
Basically the split should be based on the DF$score > 200, and all the col1
and col2 values should be aggrigated.
Request your kind help,
Regards,
karthick
--
View this message in context: http://r.789695.n4.nabble.com/DF-grouping-tp4381310p4381310.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list