a wrapper for str_replace_all
replaceing all special characters by default.
Usage
rev_repare_names(x, pattern = "[^[:alnum:]]", replacement = "_")
Arguments
- x
character vector with names potentially have characters to replace.
- pattern
pattern to replace, default "[^[:alnum:]]"
- replacement
a character to replace, "_"
by default.
Value
character vector with applied replacements.