| str_which_unique | R Documentation | 
These are wrappers for 'stringr::str_subset' and 'stringr::str_which' that facilitate all-vs-all matching of multiple strings against multiple patterns, and require matches to be unique across patterns.
str_which_unique(strings, patterns, require_match = FALSE)
str_subset_unique(strings, patterns, require_match = FALSE)
| strings | a vector of characters | 
| patterns | a vector of patterns | 
| require_match | for each pattern or throw an error | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.