read.openbugs

0th

Percentile

Read CODA output files produced by OpenBUGS

read.openbugs reads Markov Chain Monte Carlo output in the CODA format produced by OpenBUGS.

This is a convenience wrapper around the function read.coda which allows you to read all the data output by OpenBUGS by specifying only the file stem.

Keywords
file
Usage
read.openbugs(stem="", start, end, thin, quiet=FALSE)
Arguments
stem
Character string giving the stem for the output files. OpenBUGS produces files with names "CODAindex.txt", "CODAchain1.txt", "CODAchain2.txt", ...
start
First iteration of chain
end
Last iteration of chain
thin
Thinning interval for chain
quiet
Logical flag. If true, a progress summary will be printed
Value

  • An object of class mcmc.list containing output from all chains.

References

Spiegelhalter DJ, Thomas A, Best NG and Lunn D (2004). WinBUGS User Manual, Version 2.0, June 2004, MRC Biostatistics Unit, Cambridge.

See Also

read.coda.

Aliases
  • read.openbugs
Documentation reproduced from package coda, version 0.17-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.