does_vary: Does a vector have non-zero variability?

Description Usage Arguments Value Examples

View source: R/explore.R

Description

Does a vector have non-zero variability?

Usage

1
does_vary(x, na.rm = TRUE)

Arguments

x

Input variable

na.rm

If TRUE missing values are removed before calculation

Value

Logical. TRUE is there is variability

Examples

1
summarise_all(diamonds, funs(does_vary)) %>% as.logical

radiant-rstats/radiant.data documentation built on Nov. 13, 2018, 6:57 a.m.