lgrep: Logical grep

Description Usage Arguments Examples

View source: R/lgrep.R

Description

This functions creates a logical vector to indicate which elements of x include the pattern.

Usage

1

Arguments

x

A character vector

pattern

A pattern expression for grep

...

Additional options sent to grep

Examples

1
2
lgrep(LETTERS,"A|B|Z")
"A|B|Z" %charin% LETTERS

thomasgstewart/tgsify documentation built on June 18, 2020, 11:10 a.m.