Find missing (NA
) values.
This is smart enough to distinguish them from NaN values in numeric x
.
For all other types, it just calls is.na
or anyNA
.
anyMissing(x)
is.missing(x)
For anyMissing
, a logical scalar indicating whether any NA
values were present in x
.
For is.missing
, a logical vector or array of shape equal to x
, indicating whether each value is NA
.