Learn R Programming

R2OpenBUGS (version 3.2-3.2.1)

bugs.log: Read data from OpenBUGS logfile

Description

Read data such as summary statistics and DIC information from the OpenBUGS logfile

Usage

bugs.log(file)

Arguments

file

Location of the OpenBUGS logfile

Value

A list with components:

stats

A matrix containing summary statistics for each saved parameter. Comparable to the information in the element summary of a bugs object as returned by bugs.

DIC

A matrix containing the DIC statistics as returned from OpenBUGS.

Details

Returns the OpenBUGS summary statistics and DIC extracted directly from the log file.

See Also

The main function that generates the log file is bugs.