all_unique | R Documentation |
Check if all values in a vector are unique
all_unique(x)
x |
the vector to check |
TRUE if all values in the vector are unique
all_unique(c(1, 2, 3)) # TRUE
all_unique(c(1, 2, 2)) # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.