count_na {pmxTools} | R Documentation |
Count the number of NA values in a vector.
Description
Count the number of NA values in a vector.
Usage
count_na(x)
Arguments
x |
A vector. |
Value
An integer containing the number of NA values in the input vector.
Author(s)
Justin Wilkins, justin.wilkins@occams.com
Examples
## Not run:
count_na(c(0,5,7,NA,3,3,NA))
## End(Not run)
[Package pmxTools version 1.3 Index]