fastrank_num_avg: Rank numeric (double) vectors, assigning ties the average...

Description Usage Arguments Details Value Note References See Also

Description

An R function providing fast ranking for numeric vectors, assigning tied values the average rank.

Usage

1

Arguments

x

A vector of numeric (double) values to rank

Details

There is still a bit of overhead in calling this method. If you really want the fastest interface, then call ..Internal(rank(...)) function directly.

Value

A numeric vector of ranks of values in x, with length the same as length(x). Ties are broken by giving entries the average rank of the tied entries.

Note

The vector must not include NAs or NaNs. This is **not** checked.

References

https://github.com/douglasgscofield/fastrank

See Also

rank


douglasgscofield/fastrank documentation built on May 15, 2019, 10:43 a.m.