Re: [R] split data frame by factor

2011-04-25 Thread ivan
sorry, the problem has been solved. On Mon, Apr 25, 2011 at 11:28 PM, ivan wrote: > Dear Community, > > I have a dataframe like this one: > > A       B > 5       1 > 6       1 > 7       1 > 8       1 > 9       2 > 10      2 > 11      2 > 12      2 > > I have a problem splitting up the above data

[R] split data frame by factor

2011-04-25 Thread ivan
Dear Community, I have a dataframe like this one: A B 5 1 6 1 7 1 8 1 9 2 10 2 11 2 12 2 I have a problem splitting up the above data frame in respect to the factor represented by B, whereas the resulting vector should contain the numeric values