[R] How to sort data sets?

Spencer Graves spencer.graves at pdf.com
Mon Sep 19 05:12:10 CEST 2005


?order

Martin Lam wrote:

> Hi,
> 
> 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.
> 
> Thanks,
> 
> Martin
> 
> ______________________________________________
> R-help at 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

-- 
Spencer Graves, PhD
Senior Development Engineer
PDF Solutions, Inc.
333 West San Carlos Street Suite 700
San Jose, CA 95110, USA

spencer.graves at pdf.com
www.pdf.com <http://www.pdf.com>
Tel:  408-938-4420
Fax: 408-280-7915




More information about the R-help mailing list