Description Usage Arguments Value Author(s) Examples
draw random variables from a mixed distribution
1 | drawFromMixed(n, li, p)
|
n |
number of total draws from all distributions |
li |
named list of random distribution functions that contains vectors of with corresponding function parameters |
probs |
vector of drawing probabilities from different functions which has to be the same length as list |
vec vector of random variables
Matthias Bannert
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.