subset_regex | R Documentation |
subset a vector with regex
subset_regex(x, pattern)
x |
a vector |
pattern |
a regex pattern |
A vector with only elements that return TRUE for the regex
subset_regex('b', letters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.