select_via_missing_rate: Subset columns by variable missing rate

select_via_missing_rateR Documentation

Subset columns by variable missing rate

Description

Subset columns by variable missing rate

Usage

select_via_missing_rate(.data, rate, greater = TRUE)

Arguments

.data

a data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr)

rate

missing rate

greater

if TRUE, rate is the maximally acceptable missing rate

Value

an object of the same type as .data

Examples

## select columns with a maximum missing rate of 5%
select_via_missing_rate(airquality, 0.05)

the-mad-statter/washu documentation built on May 5, 2024, 10:26 a.m.