Description Usage Arguments Value Examples
If the number of uppercase characters in a string is greater than the number of lowercase characters, and if the number of uppercase characters is less than the total number of characters in the string, it is garbage. From https://ladyissy.github.io/OCR/
1 |
x |
a character vector |
Logical
1 2 3 4 5 | garbage_string_ul1 <- "UNESCO"
garbage_string_ul2 <- "POTAto"
rmg_uppercase_lowercase_ratio(garbage_string_ul1) # FALSE
rmg_uppercase_lowercase_ratio(garbage_string_ul2) # TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.