Dear All,
Quick question: if I have a 544x2 matrix, and wish to sort that matrix so that
the first column is in ascending order, and so that the correspondence between
the first column value and the second column value for each row is preserved,
how do I do that in R? Commands including "sort", "order," and
"rank" seem
unhelpful, though perhaps I am using them incorrectly?
Many thanks.
Best,
Dan
Show replies by date