Why the order function in R, yields an ascending output on same values within the vector?
abc=c("100","1","100")
order(abc)
[1] 2 1 3
Why 2 1 3?? Instead of 2 1 2
Why the order function in R, yields an ascending output on same values within the vector?
abc=c("100","1","100")
order(abc)
[1] 2 1 3
Why 2 1 3?? Instead of 2 1 2