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

From: Liaw, Andy <andy_liaw_at_merck.com>
Date: Thu 23 Jun 2005 - 07:54:13 EST


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@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
>
>
>



R-help@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 Received on Thu Jun 23 07:58:39 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:57 EST