Learn R Programming

jagsUI (version 1.6.2)

A Wrapper Around 'rjags' to Streamline 'JAGS' Analyses

Description

A set of wrappers around 'rjags' functions to run Bayesian analyses in 'JAGS' (specifically, via 'libjags'). A single function call can control adaptive, burn-in, and sampling MCMC phases, with MCMC chains run in sequence or in parallel. Posterior distributions are automatically summarized (with the ability to exclude some monitored nodes if desired) and functions are available to generate figures based on the posteriors (e.g., predictive check plots, traceplots). Function inputs, argument syntax, and output format are nearly identical to the 'R2WinBUGS'/'R2OpenBUGS' packages to allow easy switching between MCMC samplers.

Copy Link

Version

Install

install.packages('jagsUI')

Monthly Downloads

2,202

Version

1.6.2

License

GPL-3

Maintainer

Last Published

January 30th, 2024

Functions in jagsUI (1.6.2)

autojags

Automatically run jagsUI analyses to convergence
jags.basic

Simplified function to call JAGS from R
traceplot

Traceplots of JAGS output
whiskerplot

Whisker plots of parameter posterior distributions
pp.check

Posterior Predictive Checks for Bayesian Analyses fit in JAGS
update

Update a JAGS model
densityplot

Density plots of JAGS output
jags.View

View a jagsUI output object in a separate window
jags

Call JAGS from R