| all_elements_same_cpp_wrap | R Documentation |
Tests if a vector has all elements the same
all_elements_same_cpp_wrap(w)
w |
The vector to be queried |
A boolean if it has all same elements
Adam Kapelner
## Not run:
all_elements_same_cpp_wrap(c(1, 1, 1))
all_elements_same_cpp_wrap(c(1, 2, 1))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.