Checks if there are any missing values in an object or not.
Please use base::anyNA() instead of anyMissing(),
colAnyNAs() instead of colAnyMissings(), and
rowAnyNAs() instead of rowAnyMissings().
anyMissing(x, idxs = NULL, ...)
colAnyMissings(x, rows = NULL, cols = NULL, ..., useNames = TRUE)
rowAnyMissings(x, rows = NULL, cols = NULL, ..., useNames = TRUE)
colAnyNAs(x, rows = NULL, cols = NULL, ..., useNames = TRUE)
rowAnyNAs(x, rows = NULL, cols = NULL, ..., useNames = TRUE)A vector, a list, a
matrix, a data.frame, or
NULL.
A vector indicating subset of elements to
operate over. If NULL, no subsetting is done.
Not used.
A vector indicating subset of rows to
operate over. If NULL, no subsetting is done.
A vector indicating subset of columns to
operate over. If NULL, no subsetting is done.
If TRUE (default), names
attributes of the result are set, otherwise not.
The implementation of this method is optimized for both speed and memory.
The method will return TRUE as soon as a missing
value is detected.
Starting with R v3.1.0, there is anyNA() in the base,
which provides the same functionality as anyMissing().