| bgrep | R Documentation |
This function looks for pattern in each of the elements of string, returning
TRUE for each element that contains pattern, and FALSE for the other
elements. This function is a thin wrapper around stringr::str_detect()
bgrep(string, pattern)
string |
The (possibly vectorized) string to process. |
pattern |
The (possibly vectorized) regexp pattern to use. |
A vector with boolean values indicating in which elements
of string matched the corresponding elements in pattern.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.