11
I don’t understand what happens. Watch
> x<-c(-2,4,-6,5,9,7)
> x
[1] -2 4 -6 5 9 7
> order(x)
[1] 3 1 2 4 6 5
I don’t understand why vector x is not ordered. Note, when I give order(x)
add the 7
And in this case? Supposedly you wouldn’t have to give me vector x ordered downwards?
> order(x, decreasing=TRUE)
[1] 5 6 4 2 1 3
What a strange thing! Help please
Thank you very much... now I understand
– orrillo
@Vasco for nothing! If the answer answered your question, you can accept it, abs!
– Carlos Cinelli