HideEmptyRows: Hide Empty Rows From a Table

View source: R/hideemptyrowsandcolumns.R

HideEmptyRowsR Documentation

Hide Empty Rows From a Table

Description

Searches for empty rows in a table and returns a copy with those entries removed

Usage

HideEmptyRows(x, remove.zeros = TRUE, first.stat.only = TRUE)

Arguments

x

matrix; vector; or list

remove.zeros

logical; indicating whether zeros are removed. If FALSE, then only NAs are removed. Specifying a value of NULL means that the function will check for an attribute of x called "statistic" to check for percentages

first.stat.only

Only examines the first statistic when determining whether the row/column is empty.


NumbersInternational/flipTables documentation built on Feb. 26, 2024, 6:42 a.m.