[R] SORTING Arrays by index value

Thomas Lumley tlumley at u.washington.edu
Tue Feb 4 18:22:08 CET 2003

On Tue, 4 Feb 2003, Mark G Orr wrote:

> My question is:  How do I sort by the first index (the values are 1:25)
> without losing the associated values per index value for the two
> columns(Gp17 and Gp4).  I want ascending order (1:25) of the index values.



More information about the R-help mailing list