Re: [R] data prep question

2011-01-16 Thread Hadley Wickham
On Sun, Jan 16, 2011 at 5:48 AM, wrote: > Here is one way > > Here is one way: > >> con <- textConnection(" > + ID              TIME    OBS > + 001             2200    23 > + 001             2400    11 > + 001             3200    10 > + 001             4500    22 > + 003             3900     45 >

Re: [R] data prep question

2011-01-16 Thread rstrothe
thanks so much - that did it. I am new to this - so the help is greatly appreciated. Matthew -- View this message in context: http://r.789695.n4.nabble.com/data-prep-question-tp3219824p3220026.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] data prep question

2011-01-16 Thread Gabor Grothendieck
On Sat, Jan 15, 2011 at 4:26 PM, Matthew Strother wrote: > I have a data set with several thousand observations across time, grouped by > subject (example format below) > > ID              TIME    OBS > 001             2200    23 > 001             2400    11 > 001             3200    10 > 001    

Re: [R] data prep question

2011-01-16 Thread Bill.Venables
__ From: r-help-boun...@r-project.org [r-help-boun...@r-project.org] On Behalf Of Matthew Strother [rstro...@gmail.com] Sent: 16 January 2011 07:26 To: r-help@r-project.org Subject: [R] data prep question I have a data set with several thousand observations across time, grouped by subject

[R] data prep question

2011-01-16 Thread Matthew Strother
I have a data set with several thousand observations across time, grouped by subject (example format below) ID TIMEOBS 001 220023 001 240011 001 320010 001 450022 003 390