Package: jagshelper 0.4.1

jagshelper: Extracting and Visualizing Output from 'jagsUI'

Tools are provided to streamline Bayesian analyses in 'JAGS' using the 'jagsUI' package. Included are functions for extracting output in simpler format, functions for streamlining assessment of convergence, and functions for producing summary plots of output. Also included is a function that provides a simple template for running 'JAGS' from 'R'. Referenced materials can be found at <doi:10.1214/ss/1177011136>.

Authors:Matt Tyers [aut, cre]

jagshelper_0.4.1.tar.gz
jagshelper_0.4.1.zip(r-4.7)jagshelper_0.4.1.zip(r-4.6)jagshelper_0.4.1.zip(r-4.5)
jagshelper_0.4.1.tgz(r-4.6-any)jagshelper_0.4.1.tgz(r-4.5-any)
jagshelper_0.4.1.tar.gz(r-4.7-any)jagshelper_0.4.1.tar.gz(r-4.6-any)
jagshelper_0.4.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
jagshelper/json (API)
NEWS

# Install 'jagshelper' in R:
install.packages('jagshelper', repos = c('https://mbtyers.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mbtyers/jagshelper/issues

Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC - binary JAGS is Just Another Gibbs Sampler. It is a program for analysis of Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC) simulation not wholly unlike BUGS. JAGS was written with three aims in mind: * To have an engine for the BUGS language that runs on Unix * To be extensible, allowing users to write their own functions, distributions and samplers. * To be a plaftorm for experimentation with ideas in Bayesian modelling This package contains the 'jags' binary as well as the associated shared library modules loaded by the binary.
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

jagscpp

4.72 score 104 scripts 624 downloads 35 exports 5 dependencies

Last updated from:a6eb1e3468. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK146
source / vignettesOK189
linux-release-x86_64OK139
macos-release-arm64OK175
macos-oldrel-arm64OK161
windows-develOK112
windows-releaseOK106
windows-oldrelOK109
wasm-releaseOK110

Exports:caterpillarchaindens_dfchaindens_jagschaindens_linecheck_neffcheck_Rhatcomparecatcomparedenscomparepriorscor_jagscrossplotenvelopeexpitjags_dfjags_plistkfoldlogitnbynamenparamoverlayenvelopepairstrace_jagsplot_postpredplotcor_jagsplotdensplotRhatspull_postqq_postpredrcolorsskeletontrace_dftrace_jagstrace_linetracedens_jagstraceworstRhatts_postpred

Dependencies:codajagsUIlatticeMASSrjags

jagshelper-vignette

Rendered fromjagshelper-vignette.Rmdusingknitr::rmarkdownon May 10 2026.

Last update: 2024-10-23
Started: 2022-10-07

Readme and manuals

Help Manual

Help pageTopics
Functions for Extracting and Visualizing Output from 'jagsUI'jagshelper-package jagshelper
Example data: asdf jags outasdf_jags_out
Example data: asdf prior jags outasdf_prior_jags_out
Caterpillar plotcaterpillar
By-chain kernel density of each column of a 'data.frame'.chaindens_df
By-chain kernel densities of 'jagsUI' objectchaindens_jags
Simple by-chain kernel density plotchaindens_line
Quick summary of n.eff values by parameter namecheck_neff
Quick summary of Rhat values by parameter namecheck_Rhat
Compare Caterpillar Plotscomparecat
Compare Densitycomparedens
Compare Priorscomparepriors
Correlation matrix from a JAGS objectcor_jags
Bivariate Plot of Posterior Densitiescrossplot
Envelope plotenvelope
Expit, or inverse logitexpit
Extract data.framejags_df
Plistjags_plist
Automated K-fold or Leave One Out Cross Validationkfold
Logitlogit
Number of parameter nodes by parameter namenbyname
Number of parametersnparam
Overlay envelope plotsoverlayenvelope
Pairs trace plotpairstrace_jags
Diagnostic plots from posterior predictive distributionplot_postpred
Plot a correlation matrix from a JAGS objectplotcor_jags
Plot kernel densities of single parameter nodesplotdens
Plotting all Rhat valuesplotRhats
Subset from posterior data.framepull_post
Quantile-quantile plot from posterior predictive distributionqq_postpred
Random Colorsrcolors
Skeletonskeleton
Example data: Time series associated with SS JAGS outSS_data
Example data: SS JAGS outSS_out
Trace plot of each column of a 'data.frame'.trace_df
Trace plot of jagsUI objecttrace_jags
Simple trace plottrace_line
Combination of trace plots and by-chain kernel densities of 'jagsUI' objecttracedens_jags
Trace plots corresponding to the worst values of RhattraceworstRhat
Time series plot of centered posterior predictive distributionts_postpred