Skip to contents

utility - how many times within each element of x vector is the pattern matched ?

Usage

grepn(pattern, x)

Arguments

pattern

passed to gregexec()

x

a vector of character strings

Value

vector of numbers

See also