[R] How to sort data.frame

2010-01-27 Thread Madhavi Bhave
Dear R heleprs   Suppose I have following data   Scenarios combination_names     series1    series2 Sc1 MAT2 GAU1 7.26554 8.409778 Sc2 MAT2 GAU2 7.438128 8.130275 Sc3 MAT3 GAU1 8.058422 8.06457 Sc4 MAT1 GAU2 8.179855 8.022071 Sc5 MAT3 GAU2 8.184033 8.191831 Sc6 MAT3 GAU2 7.50312

Re: [R] How to sort data.frame

2010-01-27 Thread Paul Hiemstra
Hi, Look at the sort_df function from the reshape package. cheers, Paul Madhavi Bhave wrote: Dear R heleprs Suppose I have following data Scenarios combination_names series1 series2 Sc1 MAT2 GAU1 7.26554 8.409778 Sc2 MAT2 GAU2 7.438128 8.130275 Sc3 MAT3 GAU1 8.058422