reprate | R Documentation |
reprate estimates the max rate of character repetition.
reprate(x, col)
x |
a character vector or a data frame. |
col |
a character column name. |
a numeric vector indicating the max rate of character repetition in the corresponding elements in argument x vector.
x = c('a', 'aa', 'ab', 'aab', 'aaab')
reprate(x)
reprate(data.frame(x=x), 'x')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.