allSame | R Documentation |
Given a vector, are all the values in it the same?
allSame(x)
x |
a vector |
TRUE, if all the values are the same (or the vector is empty)
Tomas Sieger
allSame(c(TRUE, TRUE, TRUE))
allSame(c(TRUE, TRUE, FALSE))
allSame(c(FALSE, FALSE))
allSame(NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.