Learn R Programming

radiant.data (version 0.8.1)

does_vary: Does a vector have non-zero variability?

Description

Does a vector have non-zero variability?

Usage

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

Run this code
# NOT RUN {
summarise_all(diamonds, funs(does_vary)) %>% as.logical

# }

Run the code above in your browser using DataLab