drop_na_cols: Drops columns from the dataframe that meet a certain...

Description Usage Arguments

View source: R/na.rm.R View source: R/drop_na_cols.R

Description

Drops columns from the dataframe that meet a certain threshold of NAs.

Drops columns that are entirely NA from the dataframe.

Usage

1
2
3

Arguments

df

dataframe. The dataframe to drop from.

treshold

integer. If a column has this many percent of NAs or more, drop.

df

data.frame. The dataframe to drop from.


peterhurford/surveytools2 documentation built on Feb. 18, 2021, 9:13 p.m.