listwise_deletion: Removes rows which have missing data on any of the supplied...

View source: R/data-utils.R

listwise_deletionR Documentation

Removes rows which have missing data on any of the supplied columns.

Description

This function removes rows with missingness based on the columns provided. If rows are dropped, a message is displayed to the user to inform them of this fact.

Usage

listwise_deletion(data, ...)

Arguments

data

The dataset from which to drop cases which are not fully observed.

...

Unquoted column names which must be non-missing. Missingness in these columns will result in dropped observations. Missingness in other columns will not.

Value

The original data with all observations which are fully observed.


tidyhte documentation built on Aug. 14, 2023, 5:08 p.m.