Learn R Programming

iotables (version 0.9.4)

non_zero_columns_find: Find Non-zero Columns

Description

Internal helper to detect empty columns (or rows) in symmetric input–output style tables.

Usage

non_zero_columns_find(data_table)

Value

A logical value: TRUE if the column contains at least one non-zero numeric entry, or if the input is a factor/character column; FALSE

otherwise.

Arguments

data_table

A column (vector) from a symmetric input–output table, a use table, or a supply table. May also be a factor or character vector.