Learn R Programming

discreteRV (version 1.2.2)

jointRV: Make a joint random variable consisting

Description

Make a joint random variable consisting

Usage

jointRV(outcomes, probs = NULL, ...)

Arguments

outcomes
The possible outcomes of the joint random variable, as a list
probs
The probabilities of each event, in the order (x1, y1, x1, y2, ..., x2, y1, x2, y2, ..., xn, yn)
...
Further arguments to be passed to the RV function

Value

An RV object