powered by
anyMissing(x, ...)
vector
list
matrix
data.frame
TRUE
FALSE
x <- rnorm(n=1000) x[seq(300,length(x),by=100)] <- NA stopifnot(anyMissing(x) == any(is.na(x)))
Run the code above in your browser using DataLab