extract_chains | R Documentation |
This function extracts the Julia Object returned by run_mcmc to be usable within R.
extract_chains(mcmc)
mcmc |
Object output from run_mcmc. |
mu_chains |
List with M elements, each element a matrix of dimension iterations x D. mu_chains[[i]] is the MCMC samples for the mean vector of cluster i. |
Sigma_chains |
List with M elements, each element an array of dimension D x D x iterations. Sigma_chains[[i]] is the MCMC samples for the covariance matrix of cluster i. |
prop_chain |
Matrix of dimension M x iterations, containing the MCMC samples for the mixing proportions of each class. |
z_chain |
Matrix of dimension n x iterations, containing the MCMC samples for the class labels of each observation. These labels correspond to the row indices of the matrix of candidate latent classes. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.