Interface Utilities, Model Templates, Parallel Computing Methods and Additional Distributions for MCMC Models in JAGS

User-friendly interface utilities for MCMC models via Just Another Gibbs Sampler (JAGS), facilitating the use of parallel (or distributed) processors for multiple chains, automated control of convergence and sample length diagnostics, and evaluation of the performance of a model using drop-k validation or against simulated data. Template model specifications can be generated using a standard lme4-style formula interface to assist users less familiar with the BUGS syntax. A JAGS extension module provides additional distributions including the Pareto family of distributions, the DuMouchel prior and the half-Cauchy prior.


runjags

An R package implementing interface utilities, model templates, parallel computing methods and additional distributions for MCMC models in JAGS

This package requires JAGS (https://sourceforge.net/projects/mcmc-jags/) at both compile time and run time: compiler flags are obtained directly from the rjags package, which ensures that JAGS is compiled against the same JAGS installation as rjags (and this is re-checked at run time when loading the JAGS extension module contained within runjags). Note that installing a different major version of rjags will require the runjags package to be re-compiled. This version of runjags has a version dependency on rjags_5-5 in order to ensure that pre-compiled versions of rjags and runjags are compatible on CRAN, but in practice runjags 2.3.0 and onwards will compile with either JAGS 4 and rjags_4-18 (after adjusting the DESCRIPTION file) or JAGS 5 and rjags_5-5 or later.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("runjags")

2.3.1-1 by Matthew Denwood, 9 days ago


https://github.com/ku-awdc/runjags


Report a bug at https://github.com/ku-awdc/runjags/issues


Browse source code at https://github.com/cran/runjags


Authors: Matthew Denwood [aut, cre] , Martyn Plummer [cph] (Copyright holder of the code in R/rjags_functions.R and original copyright holder of some modified code where indicated)


Documentation:   PDF Manual  


GPL-2 license


Imports parallel, lattice, coda, rjags, stats, utils

Suggests modeest, testthat, knitr, litedown, markdown, spelling

System requirements: JAGS >= 4.3.0 (https://mcmc-jags.sourceforge.io/)


Imported by BTIME, BayLum, RcmdrPlugin.RMTCJags, TreeBUGS, bayescount, bfw, ern, invitroTKstats, mcmsupply, neojags, ordinalbayes, pivmet, saeHB.Spatial.Beta, serodynamics.

Depended on by LoTTA.

Suggested by BayesPostEst, baytaAAR, blavaan, bridgesampling, bspam, icensBKL, metamisc, runMCMCbtadjust, surveillance, surveyvoi, swfscMisc, tidybayes.


See at CRAN