R/hidd.count.noNA.R

Defines functions hidd.count.noNA

Documented in hidd.count.noNA

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