read.bugs: Read output files in CODA format

View source: R/read.bugs.R

read.bugsR Documentation

Read output files in CODA format

Description

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

Usage

read.bugs(codafiles, ...)

Arguments

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 WinBUGS, 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


R2WinBUGS documentation built on June 24, 2024, 5:18 p.m.