Description Usage Arguments Value Author(s) Examples
Random Draws from a Truncated Normal Mixture
1 |
length |
The number of observations to generate |
mu |
Vector of mean parameters, one for each normal component |
sig |
Vector of standard deviation parameters, one for each normal component |
p |
Vector of proportion parameters, one for each normal component. These do not have to add to one, and can even represent counts. |
lwr |
Lower truncation bound |
upr |
Upper truncation bound |
A vector of random draws (numeric)
Matt Tyers
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.