Learn R Programming

radiant.data (version 0.6.0)

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
summarise_each(diamonds, funs(does_vary)) %>% as.logical

Run the code above in your browser using DataLab