Shorten Character Strings to Acronym
1 | shorten_acronym(x, sep = " ", cruft_pattern = "[^a-zA-Z0-9 \\.]")
|
x |
a vector of characters. |
sep |
the string separators. Default " ". |
cruft_pattern |
the regex desribing the characters that will be dropped from the string. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.