dofilter: Apply a filter string to a table

Description Usage Arguments Value

Description

Parse the filter string and compute a logical vector indicating for each row whether the row is in the result or not. This logical vector is what is returned, so that we don't attempt to modify the data set until all of the filters have been calculated (allowing us to change the data frame just once).

Usage

1
dofilter(fvec, tbl)

Arguments

fvec

Vector of str_match outputs for a single filter

tbl

Table to filter

Value

logical vector


JGCRI/gcamrpt documentation built on June 30, 2019, 8:41 a.m.