Description Usage Arguments Value Author(s)
Why? grep normally tries to find a pattern in a vector of values; what if you have a list of vectors, and want to know in which vector does your value appear??
1 |
pattern |
a character(1) |
x |
a list, usually where each element is a character vector. |
... |
arguments passed to |
returns the index into the list that contains your pattern.
Mark Cowley, 2009-10-16
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.