Re: [R] How to sort data sets?

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Thu 15 Sep 2005 - 20:31:52 EST

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.

See ?order.

Uwe Ligges

> Thanks,
>
> Martin
>
> ______________________________________________
> 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



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:33:29 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 17:20:20 EST