HideEmptyColumns: Hide Empty Columns From a Table

View source: R/hideemptyrowsandcolumns.R

HideEmptyColumnsR Documentation

Hide Empty Columns From a Table

Description

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

Usage

HideEmptyColumns(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.