Learn R Programming

R2WinBUGS (version 2.1-22.1)

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

6,203

Version

2.1-22.1

License

GPL-2

Maintainer

Last Published

February 5th, 2024

Functions in R2WinBUGS (2.1-22.1)

read.bugs

Read output files in CODA format
write.datafile

Write data for WinBUGS
write.model

Creating a WinBUGS model file
bugs.run

Calling WinBUGS
monitor

Special summary statistics
print.bugs

Printing a bugs object
R2WinBUGS-package

Running WinBUGS and OpenBUGS from R / S-PLUS
decode.parameter.name

Decodes WinBUGS parameter names
bugs.plot

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

Writing input for WinBUGS - intended for internal use only
bugs.update.settings

Adjusting WinBUGS registry
bugs.script

Writes script for running WinBUGS
bugs.data

Writing input for WinBUGS
bugs.log

Read data from WinBUGS logfile
as.bugs.array

Convert to bugs object
bugs

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

Plotting a bugs object
attach.all

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

8 schools analysis
openbugs

Wrapper to run OpenBUGS
bugs.sims

WinBUGS output reader