Description Usage Arguments Value Examples
Detect if there are any words in a vector also found in another vector.
1 | str_any_match(x, y)
|
x |
A vector of words. |
y |
A vector of words to test against. |
TRUE/FALSE, TRUE if any words in x are also in y
1 2 3 4 5 6 7 8 | str_any_match(
x = c("a", "dog", "went", "to", "the", "store"),
y = c("the")
)
str_any_match(
x = c("a", "dog", "went", "to", "the", "store"),
y = c("apple")
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.