#' Find Length of Unique Terms in Vector
#'
#' Find Length of Unique Terms in Vector.
#'
#' @param x vector
#' @export
#' @examples nunique(c("A", "A", "B", "C")) # should = 3
nunique <- function (x) {
length(unique(x))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.