View source: R/basefunctions.R
tab.search | R Documentation |
tab.search
searches for pattern within a data-frame or tibble,
returning column(s) and row(s)
tab.search(searchdata = rawdata, pattern, find.all = T, names.only = FALSE)
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 |
A list with numeric vectors for each column giving row numbers of matched elements
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.