Description Usage Arguments Details Value Examples
Random number generator for emmix
models.
1 |
model |
An object of class |
n |
Number of sample to generate. |
... |
Not used. |
This function uses rmvnorm
and
rmvt
functions from the
mvtnorm package to generate samples
from the mixture components.
Algorithm works by first drawing a component based on the mixture proprotion in the model, and then drawing a sample from the component distribution.
A numeric matrix with samples drawn in rows.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.