View source: R/xxx_replace_xxx.R
replace patterns (vector) with replacements (vector) in string or string vector. uses gsub and perl=TRUE taken from https://stackoverflow.com/questions/26676045
1 | xxx_replace_xxx(string, patterns, replacements)
|
string |
string or vector of strings to replace in |
patterns |
pattern or vector of patterns to replace |
replacements |
replacements string, needs to have same length as replacment |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.