R/hidd.count.NA.R

Defines functions hidd.count.NA

Documented in hidd.count.NA

#' @title hidd.count.NA
#'
#' @description Calculate the number of NA values in a vector
#'
#' @param x a numeric vector
#' @return the number of NA values in a vector
#' @export
hidd.count.NA <- function(x)
{
  return(sum(is.na(x)))
}
fritte2/ctbi documentation built on Feb. 7, 2023, 5:43 a.m.