R/lenu.R

Defines functions lenu

Documented in lenu

#' ruf

#' @name lenu
#' @param v class: vector
#' @examples
#' lenu(c(0,1,1,2))
#' @export
lenu <- function(v) {
  return(lenu <- length(unique(v)))
}
nelsonroque/ruf documentation built on March 11, 2021, 2:53 p.m.