Search notes:

R function: rank

v <- c ( 41, 18, 37, 26)
rank(v)
# [1] 4 1 3 2

#  Compare with -> order
Github repository about-r, path: /functions/rank.R

See also

Index to (some) R functions

Index