Message-ID: <39B6DDB9048D0F4DAD42CB26AAFF0AFA64E9E6@usctmx1106.merck.com>
Date: 2005-06-22T21:54:13Z
From: Liaw, Andy
Subject: How to sort a dataset by one column?
See RSiteSearch("sort.data.frame"), or more generally, ?order.
Andy
> From: Ling Jin
>
> 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
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
>
>