Description Usage Arguments Details Value Author(s) See Also Examples
Given a vector of patterns and a vector of strings, this searches for the patterns within the strings and returns the matching locations.
1 |
patternVec |
A vector of pattern strings to search for. |
x |
A vector of strings to search through using |
ignore.case |
Indicates if the matches are case-sensitive. |
boolean |
Controls whether an index of integers or booleans is returned. |
This function applies grep
multiple times.
A vector of indices indicating which elements in x
match any of the patterns in patternVec
.
Justin Hemann <support@causata.com>
grep
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.