Description Usage Arguments Value Examples
View source: R/Missing_Values.R
Count the number of missing values in a vector. Counts the number of NA values for non-character vectors, and the number of NA or "" values for characters.
1 | num_missing(vec)
|
vec |
Vector to count missing values in. |
Numeric scalar containing the number of missing values.
1 2 3 | num_missing(c(NA))
num_missing(c(1, 2, 3, 4, 5))
num_missing(c(1, 2, NA, 4, 5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.