new_MIXTURE | R Documentation |
DISTRIBUTION
objectsProduce a new distribution that obtain random drawns of the mixture
of the DISTRIBUTION
objects
new_MIXTURE(listdistr, mixture)
listdistr |
a list of |
mixture |
a vector of probabilities to mixture the distributions. Must add 1 If missing the drawns are obtained from the distributions with the same probability |
an object of class MIXTURE
, DISTRIBUTION
John J. Aponte
x1 <- new_NORMAL(0,1)
x2 <- new_NORMAL(4,1)
x3 <- new_NORMAL(6,1)
new_MIXTURE(list(x1,x2,x3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.