tab.search {wrappedtools} | R Documentation |
Search within data.frame or tibble
Description
tab.search
searches for pattern within a data-frame or tibble,
returning column(s) and row(s)
Usage
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
[Package wrappedtools version 0.9.5 Index]