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")
)

jdeboer/ganalytics documentation built on May 18, 2019, 11:30 p.m.