apply_to_chars | R Documentation |
Utility function for something done a lot in this package.
apply_to_chars(text, .f, ...)
text |
A character scalar to process. |
.f |
The function to apply to each character. Should return a character scalar, given a single-character input. |
... |
Other arguments to pass to .f. |
The character scalar obtained by applying the given function to each character of the input string, and concatenating the results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.