create.mcmc.coda {geoRglm}R Documentation

Create an mcmc object for the CODA package

Description

This function creates an mcmc object for the CODA package for output from the functions glsm.mcmc, binom.krige.bayes and pois.krige.bayes. The functions in CODA can then be used to investigate convergence and mixing of the MCMC algorithm.

Usage

create.mcmc.coda(x, mcmc.input)

Arguments

x

an output object from glsm.mcmc, binom.krige.bayes or pois.krige.bayes.

mcmc.input

input parameters for the MCMC algorithm. It can take an output from mcmc.control or a list with elements. Only thin and burn.in are used, and both have default values (thin=10, burn.in=0).

Value

An object of class mcmc to be used for CODA.

Author(s)

Ole F. Christensen OleF.Christensen@agrsci.dk,
Paulo J. Ribeiro Jr. Paulo.Ribeiro@est.ufpr.br.

References

Further information about geoRglm can be found at:
http://gbi.agrsci.dk/~ofch/geoRglm.

Examples

## se example in help file for glsm.mcmc

[Package geoRglm version 0.9-2 Index]