na_removal: Missing value removal

View source: R/trans_na_removal.R

na_removalR Documentation

Missing value removal

Description

Remove rows (or elements) that contain missing values.

Usage

na_removal()

Details

For data frames or matrices, removes rows with any NA. For vectors, removes NA values.

Value

returns an object of class na_removal

Examples

data(iris)
iris.na <- iris
iris.na$Sepal.Length[2] <- NA
obj <- na_removal()
iris.clean <- transform(obj, iris.na)
nrow(iris.clean)

daltoolbox documentation built on Feb. 10, 2026, 9:06 a.m.