Description Usage Arguments Value Examples
Find duplicated word/word chunks in a string. Intended for internal use.
| 1 |   duplicates(string, threshold = 1)
 | 
| string | A character string. | 
| threshold | An integer of the minimal number of repeats. | 
Returns a vector of all duplicated words/chunks.
| 1 2 | duplicates(DATA$state)
duplicates(DATA$state[1])
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.