trim_rows: Trim rows from a populated table without regard for table structure
Description
Trim rows from a populated table without regard for table structure
Usage
trim_rows(tt, criteria = all_zero_or_na)
Arguments
tt
TableTree (or related class). A TableTree object representing a populated table.
criteria
function. Function which takes a TableRow object and returns TRUE
if that row should be removed. Defaults to all_zero_or_na
Value
The table with rows that have only NA or 0 cell values removed