Returns the sample ranks of the values in a vector. Ties (i.e., equal
values) are averaged and missing values propagated.
# S3 method for integer64
rank(x, method = NULL, …)
a integer64 vector
NULL for automatic method selection or a suitable low-level method, see details
A numeric vector of the same length as x.
This function automatically chooses from several low-level functions considering the size of x and the availability of a cache.
Suitable methods are sortorderrnk (fast ordering)
and orderrnk (memory saving ordering).