Re: [R] Help reshaping a dataset with multiple tuples per row

2013-02-19 Thread arun
    P1    T2  O2 A2 A.K. - Original Message - From: Jim Underwood To: r-help@r-project.org Cc: Sent: Tuesday, February 19, 2013 5:29 PM Subject: [R] Help reshaping a dataset with multiple tuples per row I have a dataset which contains several multi-column measurement set

[R] Help reshaping a dataset with multiple tuples per row

2013-02-19 Thread Jim Underwood
I have a dataset which contains several multi-column measurement sets per row. Col 1 identifies patient: Col1Col2Col3 Col 4Col 5 Col 6 Col7 ... Patient Treatment Outcome Advice Treatment Outcome Advice "P1" "T1" "O1