The R Project SVN R

Rev

Rev 61168 | Rev 63333 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61168 Rev 61433
Line 106... Line 106...
106
 
106
 
107
  \code{\link{any}} and \code{\link{all}} for OR and AND on many scalar
107
  \code{\link{any}} and \code{\link{all}} for OR and AND on many scalar
108
  arguments.
108
  arguments.
109
 
109
 
110
  \code{\link{Syntax}} for operator precedence.
110
  \code{\link{Syntax}} for operator precedence.
111
  
111
 
112
  \code{\link{bitwAnd}} for bitwise versions for integer vectors.
112
  \code{\link{bitwAnd}} for bitwise versions for integer vectors.
113
}
113
}
114
\examples{
114
\examples{
115
y <- 1 + (x <- stats::rpois(50, lambda = 1.5) / 4 - 1)
115
y <- 1 + (x <- stats::rpois(50, lambda = 1.5) / 4 - 1)
116
x[(x > 0) & (x < 1)]    # all x values between 0 and 1
116
x[(x > 0) & (x < 1)]    # all x values between 0 and 1