View source: R/f - Is unique.R
f_is_unique | R Documentation |
Are all elements in vector unique?
f_is_unique(v.vector, v.excluding = NA)
v.vector |
Vector with elements. |
v.excluding |
Vector with elements to exclude, e.g., 0, NA or NULL (default: NA) |
-
Boolean whether the vector contains unique values.
Pieter Overdevest
b.unique <- f_is_unique(
v.vector = c(1, 2, 3, NA), ,
v.excluding = NA
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.