Skip to content
Prev 27747 / 398498 Next

SORTING Arrays by index values

Dear Mark,

If I understand properly what you want, then one way to do it is
acc.gp.bl.wtmn[order(as.numeric(row.names(acc.gp.bl.wtmn))),]

(Note that the rows are currently ordered by character value.)

I hope that this helps,
 John
On Tue, 4 Feb 2003, Mark G Orr wrote: