compose: Building a new probability distribution from an old.
Description
The command can be used to generate a new distribution from an old, which
is given as the first argument. The new distribution has the old as the
marginal for the first variable. The conditional distribution for the second
variable is specified with the remaining arguments.
Usage
compose(object, type, ...)
Arguments
object
A probability distribution
type
A text string specifying the type of the conditional distribution given the old distribution.
...
Additional arguments specifying the conditional distribution.
Value
Depends on the input; may be a multivariate discrete distribution, or a Binomialbeta distribution.