bayesian - How can I convert OpenBUGS Coda file to mcmc object in R? -
bayesian - How can I convert OpenBUGS Coda file to mcmc object in R? -
i used openbugs , produced coda files of mcmc output. calculate , plot gelman rubin , geweke diagnostics, need convert coda.odc file mcmc object in r? there way this? or recommend me other way(s) analysis?
thanks
ues read.coda
in coda package,... like:
library(coda) my.coda <- read.coda("chain1.txt", "codaindex.txt")
might work .odc files. defiantly works if save coda files .txt openbugs my.coda
mcmc
type object.
r bayesian mcmc winbugs r2winbugs
Comments
Post a Comment