powered by
Compute the number of elements less or equal the elements in a given vector.
irank(x, ox = NULL)
a numeric vector.
order(x), optionally (for efficiency in case order(x) is already known).
order(x)
A vector of integers.
# NOT RUN { x <- rnorm(10) irank(x) rank(x) x <- c(1,2,3,3,0) irank(x) rank(x) # }
Run the code above in your browser using DataLab