Learn R Programming

radiant.data (version 1.6.3)

does_vary: Does a vector have non-zero variability?

Description

Does a vector have non-zero variability?

Usage

does_vary(x, na.rm = TRUE)

Value

Logical. TRUE is there is variability

Arguments

x

Input variable

na.rm

If TRUE missing values are removed before calculation

Examples

Run this code
summarise_all(diamonds, does_vary) %>% as.logical()

Run the code above in your browser using DataLab