Description Usage Arguments Value Examples
If a string has 4 identical characters in a row, it is garbage. From https://github.com/foodoh/rmgarbage
1 | rmg_consecutive_four_identical(x, n = 4L)
|
x |
a character vector |
n |
integer, how identical consequtive characters to detect |
Logical
1 2 3 4 5 | garbage_string_4c1 <- "aaaaazzzezrertrg"
garbage_string_4c2 <- "azertyuiopqsdfghj"
rmg_consecutive_four_identical(garbage_string_4c1) # TRUE
rmg_consecutive_four_identical(garbage_string_4c2) # FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.