[R] How to sort a dataset by one column?

Ling Jin ljin at lbl.gov
Wed Jun 22 23:34:21 CEST 2005


I understand how to sort a vector, but I could not find how to sort a 
data frame or matrix by one variable (column). Could you give me some 
examples? Thanks!

Ling




More information about the R-help mailing list