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

runjags (version 0.9.9-1)

Run Bayesian MCMC Models in the BUGS syntax from Within R

Description

A set of functions to allow any user specified model to be run in JAGS from within R, returning the MCMC chains as R objects. Includes functions to read external WinBUGS type textfiles, and allows several ways of automatically specifying model data from existing R objects or R functions. Also includes functions to automatically calculate model run length, autocorrealtion and Gelman Rubin statistic diagnostics for all models to simplify the process of achieving chain convergence. Designed for maximum compatibility with WinBUGS syntax, although minor modification to existing .bug files will be required. Also provides functions for submission and retrieval of jobs (both JAGS runs and user-specified R code execution) to Apple Xgrid distributed computing clusters (Mac OS X machines only). Requires Just Another Gibbs Sampler (JAGS) for most functions, see: http://www-fis.iarc.fr/~martyn/software/jags/

Copy Link

Version

Down Chevron

Install

install.packages('runjags')

Monthly Downloads

5,151

Version

0.9.9-1

License

GPL

Maintainer

Last Published

November 20th, 2010

Functions in runjags (0.9.9-1)