grepVec: grepVec

Description Usage Arguments Value

View source: R/grepVec.R

Description

grep a vector x from a vector y

Usage

1
grepVec(x, y, exact = F, Union = T, ignore.case = F)

Arguments

x

a vector

y

a vector

exact

a logical value. If true, find exact matches. Otherwise grep the pattern

Union

a logical value. If true, find union of matches for y. Otherwise, find matches for each element of y.

ignore.case

When exact=F and ignore.case=T, case is ignored. Otherwise, case sensitive matching.

Value

position of x in y


MinJinHa/PRECISE documentation built on May 4, 2019, 1:07 p.m.