tab.search: Search within data.frame or tibble

Description Usage Arguments Value

View source: R/basefunctions.R

Description

tab.search searches for pattern within a data-frame or tibble, returning column(s) and row(s)

Usage

1
tab.search(searchdata = rawdata, pattern, find.all = T, names.only = FALSE)

Arguments

searchdata

table to search in, predefined as rawdata

pattern

regex, for exact matches add ^findme$

find.all

return all row indices or only 1st per column,default=TRUE

names.only

return only vector of colnames rather than list with names and rows, default=FALSE

Value

A list with numeric vectors for each column giving row numbers of matched elements


wrappedtools documentation built on Sept. 6, 2021, 5:08 p.m.