Skip to content
Prev 167060 / 398503 Next

Partial sort?

I had a similar misunderstanding of using partial in sort() a while
back when I was trying to sort by columns, a la Excel.  In this case,
I ended up using the order() function, eg:

require(stats)
swiss[order(rownames(swiss)), ] #sort by location
swiss[order(swiss$fertility), ] #sort by fertility

Not sure if this helps, as I am attempting to do a mind read based on
ASCII (I get better results using unicode)

Regards,

Andrew
On Jan 15, 10:42?am, Duncan Murdoch <murd... at stats.uwo.ca> wrote: