Read BUGS output files
Usage
read.bugs(file = "bugs.out", start, end, thin)
Arguments
file
|
the name of the file from which the data are to be
read. The extension ".out" may be omitted. The data must be
in the format produced by the BUGS program, and there must be
a corresponding ".ind" file
|
start
|
First iteration of chain
|
end
|
Last iteration of chain
|
thin
|
Thinning interval for chain
|
Description
read.bugs
reads Markov Chain Monte Carlo output in
the format produced by the BUGS program. By default, all
of the data in the file is read, but the arguments start
,
end
and thin
may be used to read a subset of the
data. If the arguments given to start
, end
or
thin
are incompatible with the data, they are ignored.Value
An object of class mcmc
containing a representation of
the data in the file.Author(s)
Karen Vines, Martyn PlummerReferences
Spiegelhalter DJ, Thomas A, Best NG and Gilks WR (1995).
BUGS: Bayesian inference Using Gibbs Sampling, Version 0.50.
MRC Biostatistics Unit, Cambridge.See Also
mcmc
read.bugs.interactive