| count_missing {mlr3misc} | R Documentation | 
Count Missing Values in a Vector
Description
Same as sum(is.na(x)), but without the allocation.
Usage
count_missing(x)
Arguments
x | 
 
  | 
Value
(integer(1)) number of missing values.
Examples
count_missing(c(1, 2, NA, 4, NA))
[Package mlr3misc version 0.15.1 Index]