Description Usage Arguments Value Author(s)
Generates random vectors from mixtures of multivariate normal distributions.
1 | rmixmvnorm(n,dm,nmix,means,covs,wts=rep(1/nmix,nmix))
|
n |
Number of random vectors to generate. |
dm |
Dimension i.e. length of each random vector. |
nmix |
Number of components in the mixture. |
means |
Mean vectors of the MV normal distributions; an R list
of |
covs |
Covariance matrices of the MV normal distributions; an R
list of |
wts |
Mixture probabilities. |
An n
by dm
matrix of random vectors of length dm
,
grouped by MV normal distribution of origin.
Norm Matloff <matloff@cs.ucdavis.edu>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.