Description Usage Arguments Details Value See Also Examples
Apply functions that manipulate character/string vectors. Useful for reordering the characters in each vector element, for example.
1 2 3 4 |
f |
Function to apply to the character vector 'x'. |
x |
Character vector. |
'mapchr()' is a general functional for altering character vectors: apply any function to each of its elements. 'jumble(x)' randomly changes the order of the characters in every element. Similar to 'map_chr()' from the 'purrr' library with the exception that the former only accepts character vectors as the data input. These functions are useful when manipulating the arrangement of the characters is desired. Finally, 'is.upper()' and 'is.lower()' test whether each element in a string vector is all uppercase or lowercase.
Vector.
https://github.com/robertschnitman/afp, lapply
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.