Learn R Programming

lares (version 4.4)

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