\Header{Comparison}{Relational Operators}
\alias{"!=}{Comparison}
\alias{<}{Comparison}
\alias{<=}{Comparison}
\alias{==}{Comparison}
\alias{>}{Comparison}
\alias{>=}{Comparison}
\keyword{logic}{Comparison}
\begin{Description}\relax
Binary operators which allow the comparison of values in vectors.\end{Description}
\begin{Usage}
\begin{verbatim}
x < y
x > y
x <= y
x >= y
x == y
x != y
\end{verbatim}
\end{Usage}
\begin{Value}
A vector of logicals indicating the result of the element by element
comparison.  The elements of shorter vectors are recycled as
necessary.

Objects such as arrays or time-series can be compared this way
provided they are conformable.\end{Value}
\begin{Examples}
\begin{ExampleCode}
x <- rnorm(20)
x < 1
x[x > 0]
\end{ExampleCode}
\end{Examples}

