Description Usage Arguments Details Value Author(s)
Creates spotter function
1 |
... |
Patterns, matches to which the returned function should return |
re |
whether to treat the patterns as regular expressions |
This is a convenience function that creates and returns a function which returns
TRUE when any of its arguments match one of the patterns given here.
When re
is TRUE,
arguments to this function are matched as regular expressions in the returned
function using the base R function grepl
with its default parameters.
These currently imply no PERL-style regexps,
case sensitivity, and character rather than byte-based matching.
When re
is FALSE any exact match is sufficient for the returned function
to return TRUE.
A spotter function
Will Lowe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.