check_vec_low_variance: Check vector for low variance

View source: R/drop.R

check_vec_low_varianceR Documentation

Check vector for low variance

Description

Check vector for low variance

Usage

check_vec_low_variance(values, max_prop = 0.99)

Arguments

values

Vector of values

max_prop

Maximum proportion of values without variance

Value

TRUE/FALSE (low variance)

Examples

## Not run: 
values <- c(1, rep(0 ,1000))
check_vec_low_variance(values, max_prop = 0.9)

## End(Not run)

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