Checks if there are any missing values in an object or not
Checks if there are any missing values in an object or not.
anyMissing(x=NULL)
x |
A |
The implementation of this method is optimized for both speed and memory.
Henrik Bengtsson (http://www.braju.com/R/)
x <- rnorm(n=1000) x[seq(300,length(x),by=100)] <- NA stopifnot(anyMissing(x) == any(is.na(x)))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.