.vgrep | R Documentation |
vectorized version of grep
.vgrep(pattern, x)
pattern |
character string containing a regular expression (or character string for ‘fixed = TRUE’) to be matched in the given character vector. Coerced by ‘as.character’ to a character string if possible. If a character vector of length 2 or more is supplied, the first element is used with a warning. |
x |
a character vector where matches are sought, or an object which can be coerced by ‘as.character’ to a character vector. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.