vgsub | R Documentation |
A simple wrapper for gsub
that replaces all patterns from pattern
argument with ones in replacement
over vector provided in argument x
.
vgsub(pattern, replacement, x, ...)
pattern |
see eponymous argument for |
replacement |
see eponymous argument for |
x |
see eponymous argument for |
... |
additional arguments for |
a character vector with string replacements
See original thread for more details https://stackoverflow.com/a/6954308/564164. Special thanks to user Jean-Robert for this one!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.