remove_na_cols: Remove columns of X that are at least some proportion NA

Usage Arguments

View source: R/processing.R

Usage

1
remove_na_cols(X, na_thresh = 1)

Arguments

X

A data.table or data.frame whose all NA columns we want to remove

na_thresh

The proportion of elements in the column that have to be NA before we remove it. Defaults to 1.


krisrs1128/cleanUtils documentation built on May 20, 2019, 1:26 p.m.