Learn R Programming

rankdist (version 0.3.1)

RanktoHash: Create Hash Value for Rank

Description

Sometimes it is handier to deal with rankings into 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.