Description Usage Arguments Value Examples
mgsub
- A safe, simultaneous, multiple global string
replacement wrapper that allows access to multiple methods of specifying
matches and replacements.
1 |
string |
a character vector where replacements are sought |
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. |
recycle |
logical. should replacement be recycled if lengths differ? |
... |
arguments to pass to |
Converted string.
1 2 3 4 5 6 |
[1] "ho, hey"
[1] "dpvploepr"
[1] "The chemical megaziamine is real"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.