[R] Split data.frames depeding values of a column

Knut Krueger rh at family-krueger.com
Tue Feb 26 11:22:09 CET 2008


Hello to all
is there a function wich splits  a data.frame (column1,column2,column3,....)

into
data1 <-(column1,column3....) #column2 = 1
data2 <-(column1,column3....) #column2 = 2
data3 <-(column1,column3....) #column2 = 3
...
Regards Knut



More information about the R-help mailing list