0

I would like to know if there is a function in R that shows the position of the value in a vector. For example, my vector is x<-c(35,88,40,100,80,10), that function returns # [1] 2 5 3 6 4 1. Is different of order(x) # [1] 6 1 3 5 2 4

0 Answers0