Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gsPLMIX_to_mcmc

MCMC class objects from the Gibbs sampling simulations of a Bayesian mixture of Plackett-Luce models


Description

Coerce the Gibbs sampling simulations for a Bayesian mixture of Plackett-Luce models into an mcmc class object.

Usage

gsPLMIX_to_mcmc(gsPLMIX_out)

Arguments

gsPLMIX_out

Object of class gsPLMIX returned by the gibbsPLMIX function.

Details

gsPLMIX_to_mcmc attemps to coerce its argument by recalling the as.mcmc function of the coda package.

Value

An mcmc class object.

Author(s)

Cristina Mollica and Luca Tardella

References

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.

See Also

Examples

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)

PLMIX

Bayesian Analysis of Finite Mixtures of Plackett-Luce Models for Partial Rankings/Orderings

v2.1.1
GPL (>= 2)
Authors
Cristina Mollica [aut, cre], Luca Tardella [aut]
Initial release
2019-09-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.