Remove columns with all zeros

RemoveColWithAllZeros(inputted.data, columns.to.look.at = NULL)

Arguments

inputted.data

A dataframe.

columns.to.look.at

A vector of strings that specify the column names to look at. If no value is provided, then all columns are evaluated.

Value

A new dataframe with all-zero columns removed.

See also