Description Usage Arguments Value Examples
This function extends grepl to searche a vector of regular expressions, to ask: "which elements contain any/all of these regular expressions?"
1 |
vec |
character vector of regular expressions |
... |
arguments passed to /codegrepl |
fun |
specifies the aggregation of logicals to /codevec. If /code'any' is #' specified, /codeTRUE will return if any of the regular expressions are found. If /code'all' is specified, /codeTRUE will return only if each regular expression is found. |
logical vector
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.