#' lenique
#'
#' A very simple wrapper that calculates the length of unique values in a vector in one step. It is identical to running `length(unique(x))`.`
#' @param x a scalar, atomic vector, or list.
#' @export
lenique <- function(x) {
# calculate the length of unique values
length(unique(x))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.