str_detect_any | R Documentation |
I usually use it with a pattern of length 1.
str_detect_any(vec, pattern)
vec |
named vector |
pattern |
regex as in str_subset Logical |
str_detect_any(letters[1:3], c("c")) str_detect_any(letters[1:3], c("d")) str_detect_any(letters[1:3], c("c","d"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.