Test if all elements of a vector have the same value
1 | is.constant(x, warn.na = FALSE)
|
x |
vector |
warn.na |
warn if some elements are NA? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.