[R] SORT MATRIX

From: ermimi <ermimi__at_hotmail.com>
Date: Mon, 10 Mar 2008 13:56:45 -0700 (PDT)

I have a matrix with 2 columns and n row. I need sort the matrix by the first column but the second row must be sort in the same order that the first column. Somebody know how I can sort this matrix. Thanks very much

-- 
View this message in context: http://www.nabble.com/SORT-MATRIX-tp15955823p15955823.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 10 Mar 2008 - 21:02:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 10 Mar 2008 - 22:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive