Learn R Programming

⚠️There's a newer version (2.1-23) of this package.Take me there.

R2WinBUGS (version 2.1-20)

Running 'WinBUGS' and 'OpenBUGS' from 'R' / 'S-PLUS'

Description

Invoke a 'BUGS' model in 'OpenBUGS' or 'WinBUGS', a class "bugs" for 'BUGS' results and functions to work with that class. Function write.model() allows a 'BUGS' model file to be written. The class and auxiliary functions could be used with other MCMC programs, including 'JAGS'.

Copy Link

Version

Install

install.packages('R2WinBUGS')

Monthly Downloads

8,569

Version

2.1-20

License

GPL-2

Maintainer

Uwe Ligges

Last Published

May 31st, 2015

Functions in R2WinBUGS (2.1-20)

bugs.data

Writing input for WinBUGS
bugs.log

Read data from WinBUGS logfile
read.bugs

Read output files in CODA format
bugs

Run WinBUGS and OpenBUGS from R or S-PLUS
print.bugs

Printing a bugs object
write.model

Creating a WinBUGS model file
bugs.update.settings

Adjusting WinBUGS registry
decode.parameter.name

Decodes WinBUGS parameter names
bugs.plot

Plotting summary information - intended for internal use only
schools

8 schools analysis
write.datafile

Write data for WinBUGS
bugs.sims

WinBUGS output reader
bugs.inits

Writing input for WinBUGS - intended for internal use only
as.bugs.array

Convert to bugs object
monitor

Special summary statistics
openbugs

Wrapper to run OpenBUGS
attach.all

Attach / detach elements of (bugs) objects to search path
bugs.script

Writes script for running WinBUGS
R2WinBUGS-package

Running WinBUGS and OpenBUGS from R / S-PLUS
plot.bugs

Plotting a bugs object
bugs.run

Calling WinBUGS