powered by
Same as sum(is.na(x)), but without the allocation.
sum(is.na(x))
count_missing(x)
(integer(1)) number of missing values.
integer(1)
vector() Supported are logical, integer, double, complex and string vectors.
vector()
count_missing(c(1, 2, NA, 4, NA))
Run the code above in your browser using DataLab