Learn R Programming

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

runjags (version 1.0.1-1)

Interface utilities for MCMC models in Just Another Gibbs Sampler (JAGS) using parallel and distributed computing methods

Description

This package provides high-level interface utilities for JAGS, either running locally (via the rjags package or using multiple cores in parallel) or via distributed computing clusters such as those provided by snow (a Simple Network Of Workstations), Apple Xgrid distributed computing clusters (Mac OS X 10.5-10.7 only), and possibly others via user specified functions. The primary motivation is to facilitate running relatively simple JAGS models to convergence, including evaluating the performance of a model against simulated data, and compatibility with the WinBUGS syntax of model files with data and initial values lists. Runjags interface functions also provide convenience wrappers for automatic control of model convergence assessment and run length diagnostics, calculation of relevant summary statistics, generation of trace and density plots, calculation of DIC, and automatic retrieval of R objects as data and initial values. Running of arbitrary R commands (not involving JAGS) over Xgrid is also supported.

Copy Link

Version

Install

install.packages('runjags')

Monthly Downloads

10,066

Version

1.0.1-1

License

GPL

Maintainer

Matthew Denwood

Last Published

April 25th, 2013

Functions in runjags (1.0.1-1)

autorun.jags

Run or Extend a User Specified Bayesian MCMC Model in JAGS with Automatically Calculated Run Length and Convergence Diagnostics
findjags

Attempt to Locate a JAGS Install
read.winbugs

Extract Any Models, Data, Monitored Variables or Initial Values As Character Vectors from a Winbugs Type Textfile
run.jags.study

Run an MCMC Model in JAGS Using Multiple Simulated Datasets
xgrid.run

Remote execution of user-specified R functions on Apple Xgrid distributed computing clusters
ask

Obtain Input from User With Error Handling
timestring

Calculate the Elapsed Time in Sensible Units
runjags

Interface utilities for Just Another Gibbs Sampler (JAGS) using parallel and distributed computing
testjags

Analyse the System to Check That JAGS Is Installed
runjags-class

The 'runjags' class (and associated classes) and available S3 methods
xgrid.run.jags

Run a JAGS Model using an Apple Xgrid distributed computing cluster from Within R
combine.mcmc

Combine Two or More MCMC Objects Into One Longer MCMC Object
new_unique

Create a Unique Filename
dump.format

Conversion Between a Named List and a Character String in the R Dump Format
run.jags

Run or Extend a User Specified Bayesian MCMC Model in JAGS from Within R
run.jagsfile

Deprecated functions