Re: [R] Help on reshape2 data frame rearrangement

2011-08-07 Thread Joshua Wiley
Hi BJ, Suppose that your data set is called 'Data1', please copy and paste the output created by typing: dput(Data1[1:15, ]) and post that to the list ***in plain text*** (or upload a text file on some file hosting service). The email you sent is nearly impossible to parse because this is a pla

[R] Help on reshape2 data frame rearrangement

2011-08-07 Thread B Jessop
Dear help list: I am trying to reshape a data frame from long to wide format and with a reduced variable list using reshape2. The original data frame format is: Site Obs_no LengthSite 1 Obs 1 10Site 1 Obs 2 13Site 1 Obs 3 14.Site 2 Obs 1 5Site 2 O