multi_grepl_n: multi_grepl_n

Description Usage Arguments Value

Description

Returns the number of times grepl matched a pattern; vectorised.

Usage

1

Arguments

pattern

vector of character string patterns

x

a vector of strings to match with patterns

tolower

a bool. Indicates whether or not to make each pattern and input vector lowercase

Value

A vector containing the number of times each pattern was matched


JConigrave/papertools documentation built on Dec. 6, 2019, 8:51 a.m.