RemoveEmptyCols: Remove irrelevant columns from data frame

Description Usage Arguments Value Examples

View source: R/RemoveEmptyCols.R

Description

Remove from data frame those columns that contain either:

- only empty values ("")

- only zeros (0)

- only NAs (NA)

Usage

1

Arguments

x

This is a data frame.

Value

The data frame used as an input without empty columns according to rules mentioned above.

Examples

1
2
3
4
## Not run: 
cleanDataFrame <- RemoveEmptyCols(dataFrame)

## End(Not run)

lcmercado/AutoAnalysis documentation built on May 25, 2019, 9:31 p.m.