Learn R Programming

R2WinBUGS (version 2.1-24)

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,569

Version

2.1-24

License

GPL-2

Maintainer

Uwe Ligges

Last Published

February 23rd, 2026

Functions in R2WinBUGS (2.1-24)

write.model

Creating a WinBUGS model file
R2WinBUGS-package

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

Calling WinBUGS
attach.all

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

Writes script for running WinBUGS
bugs.plot

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

Printing a bugs object
bugs

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

Adjusting WinBUGS registry
as.bugs.array

Convert to bugs object
bugs.sims

WinBUGS output reader
bugs.log

Read data from WinBUGS logfile
read.bugs

Read output files in CODA format
bugs.inits

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

Writing input for WinBUGS
decode.parameter.name

Decodes WinBUGS parameter names
plot.bugs

Plotting a bugs object
schools

8 schools analysis
write.datafile

Write data for WinBUGS
openbugs

Wrapper to run OpenBUGS
monitor

Special summary statistics