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