str_detect2 | R Documentation |
Str_detect with NA handling
str_detect2(string, pattern, default = F)
string |
Input vector. Either a character vector, or something coercible to one. |
pattern |
Pattern to look for. See |
default |
a default value to be used if string is NA |
a logical vector, assuming default is set to logical. Using a string or numeric value will coerce the value to the class of default.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.