David Winsemius wrote: > > ?order >
cindy Guo wrote: > > Do you mean if the numbers in each row are ordered? They are not, but if > it's needed, we can order them. The matrix only has 5000 rows. > No, he's suggesting you check out the order() function by calling it's help page: ?order order() will sort your results into ascending or descending order. You could then pick off the top 50 by using head(). Hope that helps! -Charlie ----- Charlie Sharpsteen Undergraduate Environmental Resources Engineering Humboldt State University -- View this message in context: http://old.nabble.com/pairs-tp26364801p26378236.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@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.