The R Project SVN R

Rev

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

Rev 74377 Rev 74419
Line 1... Line 1...
1
% File src/library/base/man/Logic.Rd
1
% File src/library/base/man/Logic.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2017 R Core Team
3
% Copyright 1995-2018 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{Logic}
6
\name{Logic}
7
\title{Logical Operators}
7
\title{Logical Operators}
8
\alias{!}
8
\alias{!}
Line 27... Line 27...
27
}
27
}
28
\description{
28
\description{
29
  These operators act on raw, logical and number-like vectors.
29
  These operators act on raw, logical and number-like vectors.
30
}
30
}
31
\arguments{
31
\arguments{
32
  \item{x, y}{raw or logical or \sQuote{number-like} vectors (i.e., of
32
  \item{x, y}{\code{\link{raw}}, \code{\link{logical}} or \sQuote{number-like} vectors (i.e., of
33
    types \code{\link{double}} (class \code{\link{numeric}},
33
    types \code{\link{double}} (class \code{\link{numeric}}),
34
    \code{\link{integer}}) and \code{\link{complex}}), or objects for
34
    \code{\link{integer}} and \code{\link{complex}}), or objects for
35
    which methods have been written.} 
35
    which methods have been written.}
36
}
36
}
37
\details{
37
\details{
38
  \code{!} indicates logical negation (NOT).
38
  \code{!} indicates logical negation (NOT).
39
 
39
 
40
  \code{&} and \code{&&} indicate logical AND and \code{|} and \code{||}
40
  \code{&} and \code{&&} indicate logical AND and \code{|} and \code{||}