Description Usage Arguments Author(s) Examples
This takes two arguments just like gsub
- a patterns and a replacement.
It will only overwrite the parts of any character where the pattern is matched with the second argument.
If you want to overwrite whole elements via a regex (i.e. replace the entire element if it matches),
use %regex<-%
instead.
1 | x %regex=% value
|
x |
a character vector |
value |
c(pattern, replacement) |
Ben Wiseman, benjamin.wiseman@kornferry.com
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.