multiSubstitute | R Documentation |
apply multiple substitutions on a vector of character. For each element in replacements gsub is called with the element name being the pattern and the element value being the replacement.
multiSubstitute(strings, replacements, ..., dbg = FALSE)
strings |
vector of character |
replacements |
list of pattern = replacement pairs. |
... |
additional arguments passed to gsub |
dbg |
if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.