View source: R/str_detect_any.R
str_detect_any | R Documentation |
Returns a logical vector with results of stri_detect_any(), which checks
for the presence of any of the elements in pattern
for each element
of strings
.
str_detect_any(strings, patterns, type, ...)
strings |
input vector. This must be an atomic vector and will be coerced to a character vector. |
patterns |
patterns to look for, as defined by a POSIX regular expression. See the Extended Regular Expressions section of regex for details. See fixed, ignore.case and perl for how to use other types of matching: fixed, case insensitive and perl-compatible. |
type |
character vector of length one with either
|
... |
further arguments for stri_detect_regex |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.