Description Usage Arguments Value Examples
a generalization of gsub which allows to do multiple replacements at once as described in stackoverflow
1 | mgsub(myrepl, mystring)
|
myrepl |
a list containing character vectors of length two each with the string to be replaced at the first and the replacement at the second index |
mystring |
a character vector where matches are sought, or an object which can be coerced by as.character to a character vector. |
a character string
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.