Learn R Programming

R2OpenBUGS (version 3.2-3.2.1)

bugs.sims: OpenBUGS output reader

Description

Reads simulations from OpenBUGS into R, 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.