bugs.sims: WinBUGS output reader

bugs.simsR Documentation

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)

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.


R2WinBUGS documentation built on June 24, 2024, 5:18 p.m.