[R] [urgent]arranging data in descending order in each column

QAMAR MUHAMMAD UZAIR d029307 at polito.it
Fri Jun 1 03:54:09 CEST 2012


Dear R users,

I have data in the following manner

[,1]	[,2]	[,3]	[,4]
6	2	2	2
5	4	4	3
6	35	2	13
7	32	3	5
4	4	423	3
3	6	4	5
5	6	5	3

I want to arrange all the data in descending order. I have
92 columns in my actual data set. It is therefore
difficult for me to apply order command to each column. Is
there a short way of doing it?
Thanks in advance..



More information about the R-help mailing list