View source: R/tools.R
str_subset that preserves names
regex as in str_subset
myvec <- c("a", "b", "ab", "ba") %>% are_names_of(.,.)
myvec %>% str_subset_keep_names("^a")
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.