\Header{all}{Are All Values True?}
\keyword{logic}{all}
\begin{Description}\relax
Given a set of logical vectors, are all of the values true?\end{Description}
\begin{Usage}
\begin{verbatim}
all(..., na.rm = FALSE)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{...}] one or more logical vectors.
\item[\code{na.rm}] logical. If true \code{NA} values are removed before
the result is computed.
\end{ldescription}
\end{Arguments}
\begin{Value}
Given a sequence of logical arguments, a logical value indicating
whether or not all of the elements of \code{x} are \code{TRUE}.

The value returned is \code{TRUE} if all the values in \code{x}
are \code{TRUE}, and \code{FALSE} if any the values in \code{x}
are \code{FALSE}.

If \code{x} consists of a mix of \code{TRUE} and \code{NA} values,
then value is \code{NA}.\end{Value}
\begin{SeeAlso}\relax
\code{\Link{any}}, the ``complement'' of \code{all}, and
\code{\Link{stopifnot}(*)} which is an \code{all(*)}
``insurance''.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
range(x <- sort(round(rnorm(10) - 1.2,1)))
if(all(x < 0)) cat("all x values are negative\n")
\end{ExampleCode}
\end{Examples}

