Description Usage Arguments Examples
Replace names of the bstring object
1 | bstr_replace_name(bstrobj, pattern, replacement)
|
bstrobj |
bstr class object or character vector |
pattern |
Pattern to look for. |
replacement |
A character vector of replacements or a function. |
1 2 | temp <- bstr(c("aaa", "bbb"))
c(temp, bstr_replace_name(temp, "\\d", c("one", "two")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.