bugs.sims: OpenBUGS output reader

Description Usage Arguments Value See Also

Description

Reads simulations from OpenBUGS into R, formats them, monitors convergence, performs convergence checks, and computes medians and quantiles - intended for internal use.

Usage

1
2
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.


R2OpenBUGS documentation built on April 3, 2020, 1:08 a.m.