[R] Sort in descending order

Emmanuel Paradis paradis at isem.univ-montp2.fr
Fri Dec 15 09:45:53 CET 2000


At 10:22 14/12/00 -0500, you wrote:
>Hi R users:
>I want to know how can I easily sort in descending order a
>whole data frame by one or several variables.
>Thank you very much for your help.
>
>Kenneth Cabrera
>krcabrer at perseus.unalmed.edu.co
>krcabrer at epm.net.co
>Universidad Nacional de Colombia, Sede Medellín


	rev(sort(x))


Emmanuel Paradis
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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