Lana Schaffer wrote:
Hi, I have been sorting matrices by sorting each column one at a time. However, Many times I want to sort the whole matrix by sorting one column. Are there Ways to do this in R? Lana
Lana, See ?order:
x[order(x[, 1]), ]
--sundar
______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html