Learn R Programming

R2WinBUGS (version 2.1-13)

bugs.sims: WinBUGS output reader

Description

Reads simulations from WinBUGS into Ror S-PLUS, formats them, monitors convergence, performs convergence checks, and computes medians and quantiles - intended for internal use.

Usage

bugs.sims(parameters.to.save, n.chains, n.iter, n.burnin, n.thin,
    DIC = TRUE)

Arguments

parameters.to.save
parameters that should be monitored
n.chains
number of Markov chains
n.iter
number of total iterations (including burn in)
n.burnin
length of burn in
n.thin
size of thinning parameter
DIC
calculation of DIC

Value

  • Returns the same values as bugs.

See Also

The main function to be called by the user is bugs.