grapes-OR-grapes: Compute the logical OR of two events

Description Usage Arguments Value Examples

Description

Compute the logical OR of two events

Usage

1
X %OR% Y

Arguments

X

RVcond object

Y

RVcond object

Value

An RVresult object which is two events ORed together

Examples

1
2
X.fair.die <- RV(1:6, rep(1/6,6))
P((X.fair.die == 4) %OR% (X.fair.die == 3))

erichare/discreteRV documentation built on May 16, 2019, 8:27 a.m.