powered by
Function to convert to tell what index the shingle corresponds to in the record
shingled_record_to_index_vec(shingled_record, universal_set)
Shingled record
Universal set of all shingles
the index regarding where the shingle falls in the record
# NOT RUN { shingles("Alexander",2) shingles("Alexander Smith", 2) shingled_record_to_index_vec(shingles("Alexander",2), unique(shingles("Alexander Smith", 2))) # }
Run the code above in your browser using DataLab