Re: [R] Splitting a data list into smaller data lists

2012-02-14 Thread Jeff Newmiller
Comments below. On Tue, 14 Feb 2012, lawonga wrote: Hi, I am new at R and have been looking for a guide on how to do this with no avail. I have a data set similar to this: X Y 1 2 3 3 4 9 2 4 6 3 9 1 1 7 0 2 5 6 3 8 and I need it to be split into something like this: X

Re: [R] Splitting a data list into smaller data lists

2012-02-14 Thread David Winsemius
On Feb 14, 2012, at 8:02 PM, lawonga wrote: Hi, I am new at R and have been looking for a guide on how to do this with no avail. I have a data set similar to this: X Y 1 2 3 3 4 9 2 4 6 3 9 1 1 7 0 2 5 6 3 8 If by dataset you mean a daaframe named (for discussion purp

[R] Splitting a data list into smaller data lists

2012-02-14 Thread lawonga
Hi, I am new at R and have been looking for a guide on how to do this with no avail. I have a data set similar to this: X Y 1 2 3 3 4 9 2 4 6 3 9 1 1 7 0 2 5 6 3 8 and I need it to be split into something like this: X Y 1 2 3 3 4 9 2 4 6 3 X Y 9 1 1 7 0