Re: [R] placing multiple rows in a single row

2011-07-05 Thread David Winsemius
On Jul 5, 2011, at 3:00 AM, Annemarie Verkerk wrote: Dear David, thanks so much, I was able to get it to work for my data! I don't really understand yet how the function works, but it seems extremely useful. The melt operation creates a "long" data.frame, (which is what many plotting p

Re: [R] placing multiple rows in a single row

2011-07-05 Thread Annemarie Verkerk
Dear David, thanks so much, I was able to get it to work for my data! I don't really understand yet how the function works, but it seems extremely useful. Thanks again! Annemarie David Winsemius wrote: On Jul 4, 2011, at 2:32 PM, Annemarie Verkerk wrote: Dear people from the R help list,

Re: [R] placing multiple rows in a single row

2011-07-04 Thread David Winsemius
On Jul 4, 2011, at 2:32 PM, Annemarie Verkerk wrote: Dear people from the R help list, I have a question that I can't get my head around to start answering, that is why I am writing to the list. I have data in a format like this (tabs might look weird): John A1 1 0 1 John

[R] placing multiple rows in a single row

2011-07-04 Thread Annemarie Verkerk
Dear people from the R help list, I have a question that I can't get my head around to start answering, that is why I am writing to the list. I have data in a format like this (tabs might look weird): John A1 1 0 1 John A2 111 John A3 100 Mary