textreuse (version 0.1.5)

hash_string: Hash a string to an integer

Description

Hash a string to an integer

Usage

hash_string(x)

Arguments

x

A character vector to be hashed.

Value

A vector of integer hashes.

Examples

Run this code
# NOT RUN {
s <- c("How", "many", "roads", "must", "a", "man", "walk", "down")
hash_string(s)
# }

Run the code above in your browser using DataLab