Learn R Programming

R2WinBUGS (version 2.1-22.1)

bugs.sims: WinBUGS output reader

Description

Reads simulations from WinBUGS into R or 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)

Value

Returns the same values as bugs.

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

See Also

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