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

Description Usage Arguments Value Examples

Description

Compute the logical AND of two events

Usage

1
X %AND% Y

Arguments

X

RVcond object

Y

RVcond object

Value

An RVresult object which is two events ANDed together

Examples

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

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