Check if all the elements in a vector are unique
Checks if all the elements in a vector are unique
all_unique(x, ...)
x |
a vector |
... |
ignored. |
logical (are all the elements in the vector unique)
all_unique(c(1:5, 1, 1)) all_unique(c(1, 1, 2)) all_unique(c(1, 1, 2, 3, 3, 3, 3)) all_unique(c(1, 3, 2)) all_unique(c(1:10))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.