Description Usage Arguments Value Examples
mimicks the behavior of str_subset
but works through str_detect
1 | str_subset(x_chr, pattern)
|
x_chr |
a vector of characters to subset |
pattern |
character to match by |
character with equal len or shorter than x_chr
1 | str_subset(letters %>% purrr::set_names(), rebus::or("a", "b"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.