[R] How to sort data sets?

From: Martin Lam <tmlammail_at_yahoo.com>
Date: Thu 15 Sep 2005 - 20:18:18 EST


I was wondering if someone know how to sort a data set by column.
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@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Sep 21 02:49:19 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:18 EST