validateNoDuplicate | R Documentation |
Leverage ospsuite.utils::validateHasOnlyDistinctValues()
to
validate that a vector has only distinct values and display a useful message.
validateNoDuplicate(
values,
variableName = NULL,
na.rm = TRUE,
nullAllowed = FALSE
)
values |
An array to validate |
variableName |
Name of variable that can be used to display a useful message |
na.rm |
logical indicating if |
nullAllowed |
logical indicating if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.