[R] How to sort data sets?
krcabrer at epm.net.co
Mon Sep 19 05:53:16 CEST 2005
If you want to sort a data frame according a variable, the use it like
to sort all the data.frame, not just a variable
Spencer Graves wrote:
>Martin Lam wrote:
>>I was wondering if someone know how to sort a data set
>>I've tried sort() but without luck. I would think
>>there should be a function for it somewhere. An
>>example with the iris data set would be appreciated.
>>R-help at stat.math.ethz.ch mailing list
>>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help