powered by
Find duplicated word/word chunks in a string. Intended for internal use.
duplicates(string, threshold = 1)
Returns a vector of all duplicated words/chunks.
A character string.
An integer of the minimal number of repeats.
if (FALSE) { duplicates(DATA$state) duplicates(DATA$state[1]) }
Run the code above in your browser using DataLab