hash_string: Hash a string to an integer

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

Hash a string to an integer

Usage

1

Arguments

x

A character vector to be hashed.

Value

A vector of integer hashes.

Examples

1
2
s <- c("How", "many", "roads", "must", "a", "man", "walk", "down")
hash_string(s)

Example output

[1]  1170348120  1378547157   453614973 -2092838915  1424956863  -594843830
[7]  -996557427   662007074

textreuse documentation built on July 8, 2020, 6:40 p.m.