hash_string {textreuse}R Documentation

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

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

[Package textreuse version 0.1.5 Index]