shingled_record_to_index_vec: Function to convert to tell what index the shingle...

Description Usage Arguments Value Examples

View source: R/minhash_v2.R

Description

Function to convert to tell what index the shingle corresponds to in the record

Usage

1
shingled_record_to_index_vec(shingled_record, universal_set)

Arguments

shingled_record

Shingled record

universal_set

Universal set of all shingles

Value

the index regarding where the shingle falls in the record

Examples

1
2
3
shingles("Alexander",2)
shingles("Alexander Smith", 2)
shingled_record_to_index_vec(shingles("Alexander",2), unique(shingles("Alexander Smith", 2)))

tlsh documentation built on Nov. 16, 2020, 9:15 a.m.