powered by
Check to see whether the input is either NA or a vector of length 0.
is.missing(x)
TRUE if the input is a vector of length 0; is.na(x) otherwise.
is.na(x)
object to check.
anyMissing.
anyMissing
is.missing(numeric(0)) is.missing(NA) is.missing(c(1,2,3,NA,5))
Run the code above in your browser using DataLab