Academic Commons

Articles

R2WinBUGS: A Package for Running WinBUGS from R

Sturtz, Sibylle; Ligges, Uwe; Gelman, Andrew E.

The R2WinBUGS package provides convenient functions to call WinBUGS from R. It automatically writes the data and scripts in a format readable by WinBUGS for processing in batch mode, which is possible since version 1.4. After the WinBUGS process has finished, it is possible either to read the resulting data into R by the package itself—which gives a compact graphical summary of inference and convergence diagnostics—or to use the facilities of the coda package for further analyses of the output. Examples are given to demonstrate the usage of this package.

Subjects

Files

Also Published In

Title
Journal of Statistical Software

More About This Work

Academic Units
Statistics
Published Here
November 20, 2012