Check if the values in a vector vary
1 | 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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.