| igrep | R Documentation |
case-insensitive grep
igrep(..., ignore.case = TRUE)
..., ignore.case |
parameters sent to |
This function is a simple wrapper around base::grep() which
runs in case-insensitive mode. It is mainly used to save keystrokes,
but is consistently named alongside vgrep and
vigrep.
vector of matching indices
Other jam grep functions:
grepls(),
igrepHas(),
igrepl(),
provigrep(),
unigrep(),
unvigrep(),
vgrep(),
vigrep()
V <- paste0(LETTERS[1:5], LETTERS[4:8]);
igrep("D", V);
igrep("d", V);
vigrep("d", V);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.