Re: [R] restructure my data

2013-09-02 Thread David Carlson
NA 4913.5274 [4,] 1013.527NANA [5,] 1517.250NANA David -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of David Carlson Sent: Monday, September 2, 2013 4:38 PM To: 'Wim Kreinen'; 'r

Re: [R] restructure my data

2013-09-02 Thread arun
#[3,] 8871.575    NA 4913.5274 #[4,] 1013.527    NA    NA #[5,] 1517.250    NA    NA A.K. - Original Message - From: Wim Kreinen To: r-help Cc: Sent: Monday, September 2, 2013 1:07 PM Subject: [R] restructure my data My data is in this form: var has 3 condition

Re: [R] restructure my data

2013-09-02 Thread David Carlson
son Associate Professor of Anthropology Texas A&M University College Station, TX 77840-4352 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Wim Kreinen Sent: Monday, September 2, 2013 12:07 PM To: r-help Subject: [R] restructu

[R] restructure my data

2013-09-02 Thread Wim Kreinen
My data is in this form: var has 3 conditions (0,1,2) > df var cauc 11 6462.3288 20 1585.2740 30 2481.6781 41 344.1781 50 8871.5753 62 816.7808 72 6031.3356 80 1013.5274 92 4913.5274 10 0 1517.2500 For the three conditions (0,1,2) I want the cauc-va