View source: R/get_source_filter.R
get_source_filter | R Documentation |
This function takes a character vector with regular expressions, a numeric vector with numeric indices, or a logical vector that is either as long as the source or has length 1; and then always returns a logical vector of the same length as the source.
get_source_filter(
source,
filter,
ignore.case = TRUE,
invert = FALSE,
perl = TRUE,
...
)
source |
The source to produce the filter for. |
filter |
THe filtering criterion: a character vector with regular expressions, a numeric vector with numeric indices, or a logical vector that is either as long as the source or has length 1. |
ignore.case |
Whether to apply the regular expression case sensitively
or not (see |
invert |
Whether to invert the result or not (i.e. whether the filter
specifies what you want to select ( |
perl |
Whether the regular expression (if |
... |
Any additional arguments are passed on to |
A logical vector of the same length as the source.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.