R/howmany_na.R

Defines functions howmany_na

Documented in howmany_na

#' Counts how many values are NA
#' 
#' Returns the number of values that are NA
#' 
#' @param x object to count how many values are \code{NA}
#' @keywords manip
#' @export
#' @examples
#' x <- c( 1, NA, NA, 3:6 )
howmany_na <- function(x)
  sum( is.na(x) )
decisionpatterns/na.actions documentation built on May 12, 2017, 9:55 p.m.