digest2int.Rd
The digest2int
function calculates integer hash of an arbitrary string.
This is useful for randomized experiments, feature hashing, etc.
digest2int(x, seed = 0L)
The digest2int
function returns integer vector of the same length
as input vector x
.
Jenkins's one_at_a_time
hash:
https://en.wikipedia.org/wiki/Jenkins_hash_function#one_at_a_time.