coda.object {GLMMGibbs}R Documentation

Convert Glmm Output For Use With CODA

Description

Convert the result of a glmm fit for use with the CODA package

Usage

rcoda.object(g)

Arguments

g The returned value from a call to the glmm function, an object of class glmmfit.

Details

CODA is a package which can be used to check the convergence of output produced by the BUGS program. The rcoda.object function converts an object returned by a call to the glmm into an object which can be used with the CODA package. The glmm function yielding g must have been called with the argument store.results set to TRUE.

Value

an object of class mcmc, which can be passed to functions in the CODA library

Author(s)

Jonathan Myles, Imperial Cancer Research Fund, and David Clayton, Wellcome Trust mylesj@icrf.icnet.uk

References

http://www-fis.iarc.fr/coda/

http://www.mrc-bsu.cam.ac.uk/bugs/welcome.shtml