sorting ascending descending! & THX@coling
THX. You are right!! a[order(-1*a)] [1] 110 23 4 3 2 Eryk
coling wrote:
Hi,
I know very little of R, but one suggestion could be to multiply your list
by "-1", then order, then multiply by "-1" again.
Not very nice I realize. But it's "better than a poke in the eye with a
sharp stick" as a wise man once said.
Hope this helps.
Colin Gillespie
-- Witold Eryk Wolski Max Plank Institut fuer Molekulare Genetik Ihnestr73 14195 Berlin Germany tel.: Work 0049-30-84131426 http://www.molgen.mpg.de/~wolski -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._