Description Usage Arguments Value Examples
Extract words from a vector that are found in another vector.
1 | str_extract_match(x, y)
|
x |
A vector of words. |
y |
A vector of words to test against. |
x, with the words not found in y removed.
1 2 3 4 | str_extract_match(
x = c("a", "dog", "went", "to", "the", "store"),
y = c("dog", "to", "store")
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.