Number of missing values

n_missing(x, ...)

Arguments

x

Input variable

...

Additional arguments

Value

number of missing values

Examples

n_missing(c("a", "b", NA))
#> [1] 1