grep, returning values
vgrep(..., value = TRUE, ignore.case = FALSE)
parameters sent to base::grep()
vector of matching values
This function is a simple wrapper around base::grep()
which
returns matching values. It is
particularly helpful when grabbing values from a vector, but where the
case (uppercase or lowercase) is known.