PercentRank() takes a vector x and returns the percentile that elements of x correspond to.

Usage

PercentRank(x)

Value

A numeric vector of the same length as x with names copied from x (unless na.last = NA, when missing values are removed). The vector is of integer type unless x is a long vector.