| lgrep | R Documentation | 
This functions creates a logical vector to indicate which elements of x include the pattern.
lgrep(x, pattern, ...)
| x | A character vector | 
| pattern | A pattern expression for  | 
| ... | Additional options sent to  | 
lgrep(LETTERS,"A|B|Z")
"A|B|Z" %charin% LETTERS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.