drop_var_low_variance: Drop all variables with low variance

View source: R/drop.R

drop_var_low_varianceR Documentation

Drop all variables with low variance

Description

Drop all variables with low variance

Usage

drop_var_low_variance(data, max_prop = 0.99)

Arguments

data

Data frame

max_prop

Maximum proportion of values without variance

Value

Data frame

Examples

data <- data.frame(a = 1:100, b = c(0, rep(1, 99)))
drop_var_low_variance(data, max_prop = 0.9)

explore documentation built on Sept. 11, 2024, 7:40 p.m.