Description Usage Arguments Value Author(s) Examples
Simulate from mixture model with multi-variate Gaussian or t-distributed components.
1 |
n |
sample size |
n.comp |
number of mixture components ("comps") |
mix.prob |
mixing probablities (need to sum to 1) |
Mu |
matrix of component-specific mean vectors |
Sig |
array of component-specific covariance matrices |
dist |
'norm' for Gaussian components, 't' for t-distributed components |
df |
degrees of freedom of the t-distribution (not used for Gaussian distribution), default=2 |
a list consisting of:
S |
component assignments |
X |
observed data matrix |
n.stadler
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.