str_to_abb | R Documentation |
Apply str_to_upper to strings with number of characters lower than "n_abb".
str_to_abb(string, n_abb = 3)
string |
A character vector |
n_abb |
A numeric integer single value (default = 3), that will be the number of characters to define as an abbreviation |
A character vector.
string <- c("aaaaa","bb","ccc","dddd")
str_to_abb(string)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.