create.mcmc.coda: Create an mcmc object for the CODA package

Description Usage Arguments Value Author(s) References Examples

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

1
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

1
## see example in help file for glsm.mcmc

Example output

Loading required package: geoR
--------------------------------------------------------------
 Analysis of Geostatistical Data
 For an Introduction to geoR go to http://www.leg.ufpr.br/geoR
 geoR version 1.7-5.2.1 (built on 2016-05-02) is now loaded
--------------------------------------------------------------

---------------------------------------------------------

A Package for Generalised Linear Spatial Models


geoRglm version 0.9-11 (2017-10-17) is now loaded

-----------------------------------------------------------



Warning message:
no DISPLAY variable so Tk is not available 

geoRglm documentation built on May 2, 2019, 4:03 p.m.