Re: [R] how to sort new data frame based on the original data frame

2011-01-11 Thread Joshua Wiley
Hi, On Tue, Jan 11, 2011 at 9:19 AM, wangwallace wrote: > > I have a really simple question > > I have a data frame of 8 variables (the first column is the subjects' id): > >    SubID     G1    G2     G3     G4    W1    W2      W3    W4 >      1          6      5       6       2      6      2    

[R] how to sort new data frame based on the original data frame

2011-01-11 Thread wangwallace
I have a really simple question I have a data frame of 8 variables (the first column is the subjects' id): SubID G1G2 G3 G4W1W2 W3W4 1 6 5 6 2 6 22 4 2 6 4 7 2 6