[R] pairs

cls59 chuck at sharpsteen.net
Mon Nov 16 20:45:56 CET 2009



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.




More information about the R-help mailing list