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

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

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