grepVec: grepVec

Description Usage Arguments Value

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


umich-biostatistics/PRECISE documentation built on June 8, 2019, 2:34 p.m.