\HeaderA{anyMissing}{Checks if there are any missing values in an object or not}{anyMissing}
\keyword{iteration}{anyMissing}
\keyword{logic}{anyMissing}
\begin{Description}\relax
Checks if there are any missing values in an object or not.
\end{Description}
\begin{Usage}
\begin{verbatim}anyMissing(x=NULL)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] A \code{\LinkA{vector}{vector}}.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The implementation of this method is optimized for both speed and memory.
\end{Details}
\begin{Value}
Returns \code{\LinkA{TRUE}{TRUE}} if a missing value was detected, otherwise \code{\LinkA{FALSE}{FALSE}}.
\end{Value}
\begin{Author}\relax
Henrik Bengtsson (\url{http://www.braju.com/R/})
\end{Author}
\begin{Examples}
\begin{ExampleCode}
x <- rnorm(n=1000)
x[seq(300,length(x),by=100)] <- NA
stopifnot(anyMissing(x) == any(is.na(x)))
\end{ExampleCode}
\end{Examples}

