gsub_multi_pattern | R Documentation |
Substitute from a vector of patterns with a single replacement
gsub_multi_pattern(x, patterns, replacement, ..., verbose = FALSE)
x, replacement |
See |
patterns |
A vector of patterns as used individually in |
... |
Passed to |
verbose |
Signal messages with the count of values that matched each pattern or no pattern. |
A vector of NA_character_
when no match occurs and the
replaced value when a match occurs.
grepl_multi_pattern
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.