R/NA.count.R

Defines functions NA.count

Documented in NA.count

#' Function to count NAs
#' 
#' @param x A vector of values
#' @export

NA.count <- function(x){
  sum(is.na(x))/length(x)
}
jpablo91/Pabloverse documentation built on April 11, 2024, 2:54 p.m.