% Generated by roxygen2: do not edit by hand % Please edit documentation in R/db.R \name{countNA} \alias{countNA} \title{Count number of missing values in a vector} \usage{ countNA(x) } \arguments{ \item{x}{a vector of values} } \value{ an integer equal to the number of NA entries in the vector } \description{ Count number of missing values in a vector } \examples{ countNA(letters) # = 0 countNA(c(letters, NA)) # = 1 }