[R] sorting matrix for rownames

Paul Hammer Paul.Hammer at p-t-p.de
Mon Apr 7 11:44:03 CEST 2008

hi members,

i tried to sort my whole matrix X for its rownames. the rownames are 
unsorted id numbers:

i tried it with sort(rownames(X)) or order(rownames(X)) but  then i get 
only a vector of the rownames:(...

any suggestions?


More information about the R-help mailing list