#' allunique
#'
#' Determines whether a vector contains only unique, non-null values
#'
#' @param x is a vector
#'
#' @return a logical value
#'
#' @examples
#' allunique(c("A","A","B"))
#'
#' @export
allunique <- function(x) {length(x)==lunique(na.omit(x))}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.