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

Example output

Attaching package: 'discreteRV'

The following object is masked from 'package:base':

    %in%

[1] 0

discreteRV documentation built on May 2, 2019, 11:04 a.m.