Description Usage Arguments Details Value Examples
View source: R/replace_non_alphanumeric_char.R
FUNCTION_DESCRIPTION
1 | replace_non_alphanumeric_char(x, replacement.char = "_")
|
x |
A characte vector. |
replacement.char |
The character(s) used to replace all of the non-alphanumeric characters., Default: '_' |
DETAILS
A vector
1 2 3 4 5 6 7 8 | ## Not run:
if(interactive()){
test.vec <- c("blah&*%^#blah", "blah*% ()blah", "1234+==-:;56789")
replace_non_alphanumeric_char(test.vec)
replace_non_alphanumeric_char(test.vec, replacement.char = "+")
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.