which.na: Determine Which Values are Missing Values
Description
which.na returns an integer vector describing which values in the
input vector, if any, are missing
Usage
which.na(x)
Arguments
x
a data object
Value
integer vector containing indices of elements in x which are missing.
If there are no missing values, the functions return an integer vector
of length 0 ( numeric(0)).