View source: R/helper_functions.R
ncind | R Documentation |
Sample Z from 1,2,...,k, with P(Z=i) proportional to q_iN(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.