powered by
Equivalent to rank(x, ties.method = "max") but not as stupidly slow
qmdrank(x)
An integer vector specifying for each value in x the rank within x. If one value appears multiple time the maximum is used.
A numeric vector