RanktoHash: Create Hash Value for Rank

Description Usage Arguments Value See Also

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

1

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.


simonfqy/rankdistext documentation built on May 29, 2019, 8:19 p.m.