drop_var_low_variance {explore} | R 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)
[Package explore version 1.3.1 Index]