bugs.log {R2WinBUGS}R Documentation

Read data from WinBUGS logfile

Description

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

Usage

bugs.log(file)

Arguments

file Location of the WinBUGS logfile.

Details

In later releases of R2WiNBUGS, this function is considered to read the relevant data from the log file rather than analysing and calculating the relevant data in R / S-PLUS again.

Value

A list with components

stats A matrix containing summary statistics for each element of each saved parameter. Comparable to the information in the element summary of a bugs object as returned by bugs.
DIC A matrix containg the DIC statistics as returned from WinBUGS (which is different from the way bugs calculates it).

See Also

The main function that generates the log file is bugs.


[Package R2WinBUGS version 2.1-4 Index]