[R] sorting frames

Thomas Lumley thomas at biostat.washington.edu
Mon Nov 13 17:50:40 CET 2000

On Mon, 13 Nov 2000, Matthew Kushner wrote:

> Can the sort function be used on frames to sort a frame according to a
> certain numeric attribute?

You want to use order()


Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle

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