RanktoHash {rankdist}R Documentation

Create Hash Value for Ranking

Description

Sometimes it is handy to deal with rankings as a hash value. RanktoHash returns hash values for ranks. Maximum 52 objects are supported.

Usage

RanktoHash(r)

Arguments

r

a vector or matrix of rankings. Each row of the matrix represents a ranking. The ranking should be a integer from one to number of objects. No NA is allowed

Value

a vector of character strings representing the hash values.

See Also

HashtoRank for a reverse operation.


[Package rankdist version 1.1.4 Index]