Learn R Programming

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

BRugs (version 0.8-2)

R interface to the OpenBUGS MCMC software

Description

Fully-interactive R interface to the OpenBUGS software for Bayesian analysis using MCMC sampling. Runs natively and stably in 32-bit R under Windows. Versions running on Linux and on 64-bit R under Windows are in "beta" status and less efficient.

Copy Link

Version

Install

install.packages('BRugs')

Monthly Downloads

21

Version

0.8-2

License

GPL-2

Maintainer

Uwe Ligges

Last Published

August 18th, 2013

Functions in BRugs (0.8-2)

infoUpdaters

Information on MCMC updaters
buffer

Reading OpenBUGS buffer file
samplesGet

Get settings used for calculations
plotBgr

Plot the Gelman-Rubin convergence statistic for a scalar variable
ranks

Calculation of ranks
bugsInits

Writing input for OpenBUGS
writeModel

Creating an OpenBUGS model file
modelIteration

Returns number of iterations
plotHistory

Trace of a scalar variable
loadOpenBUGS

Load OpenBUGS from given directory
modelRN

State of Random Number Generator
infoModules

Loaded modules
getChain

Current chain to be initialized
infoNode

Node information
dic

DIC
samplesBgr

Plot the Gelman-Rubin convergence statistic
modelSetWD

Set working directory
modelGenInits

Generating initial values
plotDensity

Plot density estimate or histogram of a scalar variable
samplesSample

Stored values
modelSaveState

Save the model's current state
modelCompile

Compiling the model
samplesMonitors

Names of monitored scalar variables
modelInits

Loading initial values
BRugs

Introduction to BRugs
plotAutoC

Plot autocorrelation function for a scalar variable
write.datafile

Write data for OpenBUGS - intended for internal use only
samplesSetting

Change settings used for calculations
bugsData

Writing input for OpenBUGS
bgrPoint

Internal functions (to support plotting the Gelman-Rubin convergence statistic)
modelNames

Get variable names in model
modelAdaptivePhase

Getting length of adaptive phase
getNumChains

Number of chains
BRugsFit

BRugs' meta function
samplesHistory

Trace of a variable
samplesAutoC

Plot autocorrelation function
modelFactory

Enable and disable factories to create updaters
buildMCMC

Generating mcmc.list objects for package coda
infoMemory

Show memory usage
modelCheck

Checking the model file
rats

ratsdata example
samplesSet

Start recording
modelPrecision

Setting precision for prec figures
samplesCorrel

Correlation
dimensions

Dimension of BUGS variables
samplesCoda

Writing files in CODA format
setValues

Setting current values
modelData

Loading the data
modelSetAP

Changing settings of updating algorithms
samplesSize

Size of the stored sample
samplesStats

Calculate summary statistics
samplesDensity

Plot density estimate or histogram
modelUpdate

Updating the model
help.WinBUGS

WinBUGS documentation
summary

Summary of MCMC simulation
samplesClear

Clear recorded values