Learn R Programming

R2WinBUGS (version 2.1-23)

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'. The suggested package 'BRugs' (only needed for function openbugs()) is only available from the CRAN archives, see .

Copy Link

Version

Install

install.packages('R2WinBUGS')

Monthly Downloads

8,462

Version

2.1-23

License

GPL-2

Maintainer

Uwe Ligges

Last Published

July 23rd, 2025

Functions in R2WinBUGS (2.1-23)

write.model

Creating a WinBUGS model file
monitor

Special summary statistics
bugs.update.settings

Adjusting WinBUGS registry
read.bugs

Read output files in CODA format
R2WinBUGS-package

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

Writing input for WinBUGS
print.bugs

Printing a bugs object
attach.all

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

Plotting summary information - intended for internal use only
bugs.script

Writes script for running WinBUGS
bugs.log

Read data from WinBUGS logfile
bugs

Run WinBUGS and OpenBUGS from R or S-PLUS
decode.parameter.name

Decodes WinBUGS parameter names
bugs.run

Calling WinBUGS
write.datafile

Write data for WinBUGS
bugs.inits

Writing input for WinBUGS - intended for internal use only
bugs.sims

WinBUGS output reader
as.bugs.array

Convert to bugs object
schools

8 schools analysis
plot.bugs

Plotting a bugs object
openbugs

Wrapper to run OpenBUGS