allAreEqual | R Documentation |
are all elements in x the same?
allAreEqual(x, method = 1)
x |
vector of elements to be compared |
method |
Select one of two methods. 1: check if the length of unique elements is equal to one, 2: check if all elements are equal to the first element. |
TRUE
if all elements in x
are equal to each other,
otherwise FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.