#' Test that all values are unique in an array or vector
#'
#' @param x A numeric or array object.
#' @return logical
#'
#' @export
all_unique <- function(x) {
return(!any(duplicated(x, MARGIN = 0)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.