powered by
Count the number of NA values in a vector.
count_na(x)
An integer containing the number of NA values in the input vector.
A vector.
Justin Wilkins, justin.wilkins@occams.com
if (FALSE) { count_na(c(0,5,7,NA,3,3,NA)) }
Run the code above in your browser using DataLab