grepor: Take a data.frame or character vector and a vector of grep...

View source: R/functions.R

greporR Documentation

Take a data.frame or character vector and a vector of grep targets and return the values that match (for data.frame, column names that match). If no patterns given just returns the names

Description

Take a data.frame or character vector and a vector of grep targets and return the values that match (for data.frame, column names that match). If no patterns given just returns the names

Usage

grepor(xx, patterns = ".")

Arguments

xx

A data.frame or character vector (required)

patterns

A character vector of regexp targets to be OR-ed


bokov/tidbits documentation built on Jan. 26, 2024, 6:25 p.m.