draw.RVConditional: A function that takes no arguments and returns a value from...

Description Usage Examples

View source: R/random_variables.R

Description

A function that takes no arguments and returns a value from the conditional distribution of the random variable.

Usage

1
2
## S3 method for class 'RVConditional'
draw(self)

Examples

1
2
X, Y = RV(Binomial(10, 0.4) ** 2)
(X | (X + Y == 5)).draw() might return a value of 4, for example.

hayate0304/Rsymbulate documentation built on May 17, 2019, 8:20 a.m.