Check if the values in a vector vary
Check if the values in a vector vary
is_varying(x, msg = "Vector does not vary.", fail = TRUE)
x |
a vector |
msg |
character string with the error message to return if
|
fail |
logical whether to return an error if |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.