Skip to content
Prev 7522 / 15075 Next

Sorting each column of a matrix independently

This question should be directed to R-Help

Anyway, sorted <- apply(unsorted,2,sort) should do it.

Ken
On 14/10/2010, at 7:06 PM, Desmond Lim wrote: