Learn R Programming

qmd (version 1.1.3)

qmdrank: Equivalent to rank(x, ties.method = "max") but not as stupidly slow

Description

Equivalent to rank(x, ties.method = "max") but not as stupidly slow

Usage

qmdrank(x)

Value

An integer vector specifying for each value in x the rank within x. If one value appears multiple time the maximum is used.

Arguments

x

A numeric vector