Re: [R] Combine subsets by factor level

2012-06-06 Thread arun
.7556006 >7    7 1.4322698 1.6109262 0.9650534 >8    8    NA 0.3861208 1.1349206 >9    9 1.5659958 1.8725942 1.5676570 >10  10 1.0895054 1.1941775 1.3932515 > > >For the missing values, I assume that cycle will be in the dataset on the >longformat and its

Re: [R] Combine subsets by factor level

2012-06-06 Thread Lib Gray
NA 0.3861208 1.1349206 > 99 1.5659958 1.8725942 1.5676570 > 10 10 1.0895054 1.1941775 1.3932515 > > > For the missing values, I assume that cycle will be in the dataset on the > longformat and its value as NA. > > > A.K. > > > _______

Re: [R] Combine subsets by factor level

2012-06-06 Thread arun
___ From: Lib Gray To: arun Cc: R help Sent: Wednesday, June 6, 2012 2:28 PM Subject: Re: [R] Combine subsets by factor level Yes, except that patients have different cycle numbers. Such as, one might have cycle 1,2,3, and another has 1,4,12. On Jun 6, 2012 12:54 PM, "arun" wr

Re: [R] Combine subsets by factor level

2012-06-06 Thread Lib Gray
10 cycle2 1.3932515 > > > > > > A.K. > > > > > > > - Original Message - > From: lglucia > To: r-help@r-project.org > Cc: > Sent: Wednesday, June 6, 2012 12:07 AM > Subject: [R] Combine subsets by factor level > > I'm attem

Re: [R] Combine subsets by factor level

2012-06-06 Thread arun
al Message - From: lglucia To: r-help@r-project.org Cc: Sent: Wednesday, June 6, 2012 12:07 AM Subject: [R] Combine subsets by factor level I'm attempting to change a data set by compressing rows into columns. Currently there are several rows that all have information about one "p

Re: [R] Combine subsets by factor level

2012-06-06 Thread John Kane
ue, 5 Jun 2012 21:07:50 -0700 (PDT) > To: r-help@r-project.org > Subject: [R] Combine subsets by factor level > > I'm attempting to change a data set by compressing rows into columns. > Currently there are several rows that all have information about one > "patient," b

[R] Combine subsets by factor level

2012-06-05 Thread lglucia
I'm attempting to change a data set by compressing rows into columns. Currently there are several rows that all have information about one "patient," but at different cycles. I'm trying to make each patient only have one row in the data set. Does anyone know a good way to combine data sets by fact