Rev 286 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{Comparison}\title{Relational Operators}\usage{x < yx > yx <= yx >= yx == yx != y}\alias{<}\alias{<=}\alias{==}\alias{!=}\alias{>=}\alias{>}\alias{Comparison}\value{These binary operators allow the comparison of values in vectors.They return a vector of logicals indicating the result of theelement by element comparison. The elements of shorter vectorsare recycled as necessary.Objects such as arrays or time-series can be compared thisway provided they are conformable.}\examples{x <- rnorm(20)x < 1x[x > 0]}\keyword{logic}