Description Usage Arguments Details Functions See Also Examples
View source: R/grep-like_functions.R
Three convenient variations on grep() with modified defaults. The suffix 'i' means ignore case and the suffix 'v' means return values.
1 2 3 4 5 |
pattern |
character string containing a regular expression (see |
x |
a character vector where matches are sought (see |
... |
other |
These functions also accept other grep parameters (apart from value= and ignore.case=), specifically: perl=, fixed=, useBytes= and invert=.
grepvi: return values, ignoring case.
grepi: the familiar grep but ignoring case.
grepv: case-sensitive grep returning values.
%like%
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.