Learn R Programming

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

runjags (version 1.2.1-0)

Interface utilities, parallel computing methods and additional distributions for MCMC models in JAGS

Description

This package provides high-level interface utilities for Just Another Gibbs Sampler (JAGS). The primary functions facilitate running parallel JAGS models for multiple chains, automated control of convergence and sample length diagnostics, evaluation of the performance of a model against simulated data, and compatibility with the WinBUGS syntax of model files with data and initial values lists. Model fitting can be done locally (via the rjags package or separate JAGS instances) or via distributed computing clusters such as those provided by snow (a Simple Network Of Workstations), Xgrid, or other user specified functions. A JAGS extension module implementing additional distributions for JAGS models (including the Pareto family of distributions) is also provided.

Copy Link

Version

Install

install.packages('runjags')

Monthly Downloads

6,295

Version

1.2.1-0

License

GPL-2

Maintainer

Matthew Denwood

Last Published

June 21st, 2014

Functions in runjags (1.2.1-0)

runjags-class

The 'runjags' class (and associated classes) and available S3 methods
findjags

Attempt to Locate a JAGS Install
run.jagsfile

Deprecated functions
runjags

Interface utilities for Just Another Gibbs Sampler (JAGS) using parallel and distributed computing
xgrid.run.jags

Run a JAGS Model using an Apple Xgrid distributed computing cluster from Within R
autorun.jags

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

Analyse the System to Check That JAGS Is Installed
new_unique

Create a Unique Filename
xgrid.run

Remote execution of user-specified R functions on Apple Xgrid distributed computing clusters
run.jags

Run or Extend a User Specified Bayesian MCMC Model in JAGS from Within R
timestring

Calculate the Elapsed Time in Sensible Units
ask

Obtain Input from User With Error Handling
dump.format

Conversion Between a Named List and a Character String in the R Dump Format
runjags.options

Options for the runjags package
load.runjagsmodule

Load the internal JAGS module provided by runjags
read.winbugs

Extract Any Models, Data, Monitored Variables or Initial Values As Character Vectors from a Winbugs Type Textfile
combine.mcmc

Combine Two or More MCMC Objects Into One Longer MCMC Object
run.jags.study

Run an MCMC Model in JAGS Using Multiple Simulated Datasets