Skip to content
An R package to conveniently run JAGS in parallel from R
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
man Use `parallel` package for parallel processing Aug 31, 2018
tests
DESCRIPTION
LICENSE Update package to remove check warnings and notes Aug 31, 2018
NAMESPACE
readme.md

readme.md

jagstools

An R package to conveniently run JAGS in parallel from R

Overview

jagstools consists of one main function, jags_sample that is a wrapper for functions in the rjags package that makes it easier to sample MCMC chains using parallel processing. Parallel processing is conducted by the parLapply function in the parallel package. Unlike other packages that have similar functionality (e.g., R2jags and runjags) jags_sample returns an mcmc.list object that is easily manipulated using the coda package, rather than defining a new class. Because of this, in its current state, models fit using jags_sample cannot be updated later by running the sampler longer.

Installation

The jagstools package is not on CRAN, but can be installed from R using:

install.packages("devtools")
library(devtools)
install_github(repo = "michaelmalick/r-jagstools")
library(jagstools)

License

MIT

You can’t perform that action at this time.