Description
Logical AND of two or more expressions.
Usage
And(object, ...)# S4 method for .compoundExpr
And(object, ...)
# S4 method for .compoundExpr,.compoundExpr
&(e1, e2)
Arguments
object
An object to include within the ANDed expression.
...
Additional objects to include within the ANDed expression.
Value
An object of class andExpr
Methods (by class)
.compoundExpr
: Logical-AND of two or more expressions.
e1 = .compoundExpr,e2 = .compoundExpr
: Logical-AND of two expressions.
See Also
Other boolean functions: Not
,
Or
, xor
Examples
Run this code# NOT RUN {
purchased_on_mobile <- Expr(~deviceCategory == "mobile") & Expr(~transactions > 0)
# }
Run the code above in your browser using DataLab