Re: [R] Splitting a data frame into several completely separate data frames

2010-09-26 Thread Gabor Grothendieck
On Sun, Sep 26, 2010 at 8:52 AM, Josh B wrote: > Hello again, > > How do I split a data frame into smaller, completely separate data frames > (rather than separate data frames comprising a single "list")? Consider the > following data, and my coding attempt: > > x <- read.table(textConnection("id

Re: [R] Splitting a data frame into several completely separate data frames

2010-09-26 Thread Uwe Ligges
On 26.09.2010 14:52, Josh B wrote: Hello again, How do I split a data frame into smaller, completely separate data frames (rather than separate data frames comprising a single "list")? Consider the following data, and my coding attempt: x<- read.table(textConnection("id type number indv.1 bag

[R] Splitting a data frame into several completely separate data frames

2010-09-26 Thread Josh B
Hello again, How do I split a data frame into smaller, completely separate data frames (rather than separate data frames comprising a single "list")? Consider the following data, and my coding attempt: x <- read.table(textConnection("id type number indv.1 bagel 6 indv.2 bagel 1 indv.3 donuts 10