xor: xor

Description Usage Arguments Methods (by class) See Also Examples

Description

xor produces a compound expression that gives the EXCLUSIVE-OR of two expressions.

Usage

1
2
3
4
xor(x, y)

## S4 method for signature '.compoundExpr,.compoundExpr'
xor(x, y)

Arguments

x, y

Conditions for an EXCLUSIVE-OR expression.

Methods (by class)

See Also

Other boolean functions: And, Not, Or

Examples

1
2
3
4
either_enquired_or_downloaded <- xor(
  Expr(~eventCategory == "enquiry"),
  Expr(~eventCategory == "download")
)

ganalytics documentation built on May 2, 2019, 8:34 a.m.