| vigrep | R Documentation |
case-insensitive grep, returning values
vigrep(..., value = TRUE, ignore.case = TRUE)
..., value, ignore.case |
parameters sent to |
This function is a simple wrapper around base::grep() which
runs in case-insensitive mode, and returns matching values. It is
particularly helpful when grabbing values from a vector.
vector of matching values
Other jam grep functions:
grepls(),
igrep(),
igrepHas(),
igrepl(),
provigrep(),
unigrep(),
unvigrep(),
vgrep()
V <- paste0(LETTERS[1:5], LETTERS[4:8]);
vigrep("d", V);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.