powered by
Does a vector have non-zero variability?
does_vary(x, na.rm = TRUE)
Logical. TRUE is there is variability
Input variable
If TRUE missing values are removed before calculation
summarise_all(diamonds, does_vary) %>% as.logical()
Run the code above in your browser using DataLab