dot-vgrep: Vectorized version of grep

.vgrepR Documentation

Vectorized version of grep

Description

vectorized version of grep

Usage

.vgrep(pattern, x)

Arguments

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.


cmerow/occOutliers documentation built on July 8, 2023, 8:04 a.m.