Displaying 1 result from an estimated 1 matches for "124x124".
Did you mean:
124124
2009 Jan 27
2
sorting matrix to match an ordered list
...y) = c("a","b","c")
colnames(y) = c("a","b","c")
ordered_list = c("b", "c", "a")
How do I produce a new matrix, z, with the rows and columns both sorted
in the order specified by ordered_list?
(I have a big 124x124 output matrix that comes out with the rows &
columns in alphabetical order, I want them in a pre-specified order I
can get from the input file, but the above is an example of the
conceptual issue)
Thanks!
Nick
--
====================================================
Nicholas J. Matzke
P...