findCharAcrossCols: Find characters across all columns

Description Usage Arguments Examples

View source: R/findCharAcrossCols.R

Description

Searches each column for a particular string

Usage

1
findCharAcrossCols(x, string)

Arguments

x

A data.table or data.frame

string

Character. String that you want to find in x.

Examples

1
2
3
x <- iris
findCharAcrossCols(x, "virg")
x[findCharAcrossCols(x, "virg")$Species, ]

Braja93/braja documentation built on June 1, 2017, 5:19 p.m.