Learn R Programming

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

R2WinBUGS (version 2.1-21)

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

4,277

Version

2.1-21

License

GPL-2

Maintainer

Last Published

July 30th, 2015

Functions in R2WinBUGS (2.1-21)

attach.all

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

Run WinBUGS and OpenBUGS from R or S-PLUS
R2WinBUGS-package

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

Decodes WinBUGS parameter names
read.bugs

Read output files in CODA format
monitor

Special summary statistics
bugs.plot

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

Plotting a bugs object
bugs.sims

WinBUGS output reader
bugs.run

Calling WinBUGS
bugs.log

Read data from WinBUGS logfile
write.datafile

Write data for WinBUGS
bugs.script

Writes script for running WinBUGS
bugs.data

Writing input for WinBUGS
openbugs

Wrapper to run OpenBUGS
write.model

Creating a WinBUGS model file
bugs.inits

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

Convert to bugs object
print.bugs

Printing a bugs object
bugs.update.settings

Adjusting WinBUGS registry
schools

8 schools analysis