[R] ordering a matrix by multiple columns
Michael Dondrup
Michael.Dondrup at Genetik.Uni-Bielefeld.DE
Mon Mar 18 19:08:10 CET 2002
Dear all,
is there an easy way to sort or get the order of a matrix or data.frame
by multiple rows
(like ODER BY in SQL), that means if some values in the first column are
equal, then sort them (or 'order') by the second etc.?
Thanks in advance!
Michael
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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