ncind | R Documentation |
Sample Z from 1,2,...,k, with P(Z=i) proportional to q[i]N(mu[i],sig2[i]).
ncind(y, mu, sig, q)
y |
vector of data |
mu |
vector of component means |
sig |
vector of component standard deviations |
q |
vector of component weights |
Sample from 1,...,k
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.