Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/PLMIXfunctions.R
Coerce the Gibbs sampling simulations for a Bayesian mixture of Plackett-Luce models into an mcmc
class object.
1 | gsPLMIX_to_mcmc(gsPLMIX_out)
|
gsPLMIX_out |
Object of class |
gsPLMIX_to_mcmc
attemps to coerce its argument by recalling the as.mcmc
function of the coda
package.
An mcmc
class object.
Cristina Mollica and Luca Tardella
Plummer, M., Best, N., Cowles, K. and Vines, K. (2006). CODA: Convergence Diagnosis and Output Analysis for MCMC, R News, 6, pages 7–11, ISSN: 1609-3631.
1 2 3 4 5 | data(d_carconf)
GIBBS <- gibbsPLMIX(pi_inv=d_carconf, K=ncol(d_carconf), G=3, n_iter=30, n_burn=10)
## Coerce the posterior samples into an mcmc class object
gsPLMIX_to_mcmc(GIBBS)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.