Description Usage Arguments Value
Dirichlet process mixtures with Gaussian conjugate
1 2 3 4 5 6 7 8 |
y |
a numeric vector / data to do clustering |
n.iter |
a scalar / the number of samples |
burn.in |
a scalar / burn-in period |
tau2 |
a scalar / variance of Gaussian centering distribution |
M |
a scalar / precision parameter |
sigma2 |
a scalar / variance of Gaussian mixtures |
mu0 |
a scalar / mean of Gaussian centering distribution |
list of means of Gaussian mixtures and cluster membership
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.