[R] Sorting matrix or data frame

Uwe Ligges ligges at statistik.uni-dortmund.de
Tue Oct 7 17:36:31 CEST 2003


Yao, Minghua wrote:

> Dear all,
> 
> Could anyone please tell me how to sort a matrix or a data frame against a
> column/row/component?

See ?order

Uwe Ligges

> Many thanks.
> 
> -MY
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list