hasOnlyDistinctValues | R Documentation |
Check that an array of values does not include any duplicate
hasOnlyDistinctValues(values, na.rm = TRUE)
values |
An array of values |
na.rm |
Logical to decide if missing values should be removed from the
duplicate checking. Note that duplicate |
Logical assessing if all values are unique
hasOnlyDistinctValues(c("x", "y")) hasOnlyDistinctValues(c("x", "y", "x")) hasOnlyDistinctValues(c("x", NA, "y", NA), na.rm = FALSE) hasOnlyDistinctValues(c("x", NA, "y", NA), na.rm = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.