Learn R Programming

lares (version 5.0.3)

removenarows: Remove/Drop Rows in which ALL or SOME values are NAs

Description

This function lets the user remove all rows that have some or all values as NAs

Usage

removenarows(df, all = TRUE)

Arguments

df

Data.frame

all

Boolean. Remove rows which contains ONLY NA values. If set to FALSE, rows which contains at least one NA will be removed

Value

data.frame with removed rows.

See Also

Other Data Wrangling: balance_data(), categ_reducer(), cleanText(), date_cuts(), date_feats(), formatNum(), holidays(), impute(), left(), normalize(), numericalonly(), ohe_commas(), ohse(), removenacols(), replaceall(), textFeats(), textTokenizer(), vector2text(), year_month(), year_week()