Learn R Programming

explore (version 1.3.4)

check_vec_low_variance: Check vector for low variance

Description

Check vector for low variance

Usage

check_vec_low_variance(values, max_prop = 0.99)

Value

TRUE/FALSE (low variance)

Arguments

values

Vector of values

max_prop

Maximum proportion of values without variance

Examples

Run this code
if (FALSE) {
values <- c(1, rep(0 ,1000))
check_vec_low_variance(values, max_prop = 0.9)
}

Run the code above in your browser using DataLab