[R] Sorting problem

Thomas Lumley tlumley at u.washington.edu
Fri Sep 13 18:50:56 CEST 2002


On Fri, 13 Sep 2002 Bayesianbay at aol.com wrote:

> Dear list
>
> I have a quick question which is probably very simple.
>
> I have a data frame, and want to sort the data by putting one column in to
> ascending order
>
>
> I can't seem to find anything in the help about sorting data frames.
>

You want order()

	-thomas


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list