[R] Is there such a function that can sort a table according to one column?
Liaw, Andy
andy_liaw at merck.com
Fri Mar 18 22:47:43 CET 2005
See ?order, which is pointed to in the `See Also' section of ?sort.
Andy
> From: Terry Mu
>
> when I sort one column, other columns will change with it.
>
> otherwise, I can get index from sort() and write a function.
>
> Better idea? Thanks,
>
> ______________________________________________
> 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
>
>
>
More information about the R-help
mailing list