Description Usage Arguments Value
Returns the number of times grepl matched a pattern; vectorised.
1 | multi_grepl_n(pattern, x, tolower = T)
|
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 |
A vector containing the number of times each pattern was matched
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.