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
>
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.
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
Here is one way
Here is one way:
> con <- textConnection("
+ ID TIMEOBS
+ 001 220023
+ 001 240011
+ 001 320010
+ 001 450022
+ 003 3900 45
+ 003 5605
4 matches
Mail list logo