Skip to content
Prev 198913 / 398506 Next

Frequency

try
  sort (table(MAT), decreasing=T)

if MAT is your matrix

I think this is what you want. though if you want to sort by the first  
occurrence then it is a different story.

Nikhil
On 2 Nov 2009, at 1:35PM, Val wrote: