read.bugs: Read output files in CODA format

Description Usage Arguments See Also

View source: R/read.bugs.R


This function reads Markov Chain Monte Carlo output in the CODA format produced by MultiBUGS and returns an object of class mcmc.list for further output analysis using the coda package.


read.bugs(codafiles, ...)



character vector of filenames (e.g. returned from bugs in call such as bugs(....., codaPkg=TRUE, .....)). Each of the files contains coda output for one chain produced by MultiBUGS, the directory name of the corresponding file ‘CODAindex.txt’ is extracted from the first element of codafiles.


further arguments to be passed to read.coda

See Also

bugs, read.coda, mcmc.list

MultiBUGS/R2MultiBUGS documentation built on April 18, 2019, 11:57 p.m.