Description Usage Arguments Value See Also Examples
A wrapper for gsub
that takes a vector
of search terms and a vector or single value of replacements.
1 2 |
x |
A character vector. |
pattern |
Character string to be matched in the given character vector. |
replacement |
Character string equal in length to pattern or of length one which are a replacement for matched pattern. |
leadspace |
logical. If |
trailspace |
logical. If |
fixed |
logical. If |
trim |
logical. If |
order.pattern |
logical. If |
... |
Additional arguments passed to |
mgsub
- Returns a vector with the pattern replaced.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.