[R] A beginners question

Liaw, Andy andy_liaw at merck.com
Tue Mar 16 14:19:43 CET 2004


I guess you're looking for reshape()?

HTH,
Andy

> From: Murray Keir
> 
> Hi.  I used R years ago at Uni but haven't touched it since, 
> so I'm back to beginner level now.  After looking through the 
> manuals for a while I've come to the conclusion I don't know 
> where to start looking for what I'm looking for, so I decided 
> to ask for help.
> 
> I've got a fairly simple data frame with an identifier, 
> period and score.  There are a few hundred seperate 
> identifiers and the period is from 0 to 36.  I'd like to 
> pivot this so that it's a matrix of scores, with identifiers 
> as column headers and periods as row headers.  I'd then like 
> to run an ARIMA on each of the columns.
> 
> Thanks
> Murray


------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}




More information about the R-help mailing list