[ top | up ]

Sample Ranks

Syntax

rank(x)

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.