[R] Incorrect order
bartjoosen at hotmail.com
Wed Oct 29 12:32:20 CET 2008
What's wrong with that result?
you should look at the result as: first take the 3th element of a, then the
first one, than the second one and then the fourth.
if you do a[order(a)] then you get 15,20,30,40.
I suppose you expected:
 2 3 1 4
> I am using the order function and the result seems to be incorrect:
>  3 1 2 4
> Any suggestions?
View this message in context: http://www.nabble.com/Incorrect-order-tp20224993p20225235.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help