The quantile rank of a number in a vector is the relative position of ranking resulted from rank divided by the length of vector.

qrank(x, ...)

x

a vector

...