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

discreteRV documentation built on May 30, 2017, 2:21 a.m.

Search within the discreteRV package
Search all R packages, documentation and source code