all_are_identical | R Documentation |
Test if all elements of a vector are identical
all_are_identical(x, empty_value = FALSE)
x |
any object that can be handled by |
empty_value |
Value to return if function is called on a vector of
length 0 (e.g. |
TRUE
or FALSE
all_are_identical(c(1,2,3))
all_are_identical(c(1,1,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.