This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/rank.html
rank {base}R Documentation

Sample Ranks

Description

rank returns the sample ranks of the values in x. Ties result in ranks being averaged. NA values are not allowed in this function.

Usage

rank(x)

[Package base version 0.60 ]