jagshelper0.4.0 package

Extracting and Visualizing Output from 'jagsUI'

caterpillar

Caterpillar plot

chaindens_df

By-chain kernel density of each column of a data.frame.

chaindens_jags

By-chain kernel densities of jagsUI object

chaindens_line

Simple by-chain kernel density plot

check_neff

Quick summary of n.eff values by parameter name

check_Rhat

Quick summary of Rhat values by parameter name

comparecat

Compare Caterpillar Plots

comparedens

Compare Density

comparepriors

Compare Priors

cor_jags

Correlation matrix from a JAGS object

crossplot

Bivariate Plot of Posterior Densities

envelope

Envelope plot

expit

Expit, or inverse logit

jags_df

Extract data.frame

jags_plist

Plist

jagshelper-package

Functions for Extracting and Visualizing Output from 'jagsUI'

kfold

Automated K-fold or Leave One Out Cross Validation

logit

Logit

nbyname

Number of parameter nodes by parameter name

nparam

Number of parameters

overlayenvelope

Overlay envelope plots

pairstrace_jags

Pairs trace plot

plot_postpred

Diagnostic plots from posterior predictive distribution

plotcor_jags

Plot a correlation matrix from a JAGS object

plotdens

Plot kernel densities of single parameter nodes

plotRhats

Plotting all Rhat values

pull_post

Subset from posterior data.frame

qq_postpred

Quantile-quantile plot from posterior predictive distribution

rcolors

Random Colors

skeleton

Skeleton

trace_df

Trace plot of each column of a data.frame.

trace_jags

Trace plot of jagsUI object

trace_line

Simple trace plot

tracedens_jags

Combination of trace plots and by-chain kernel densities of jagsUI o...

traceworstRhat

Trace plots corresponding to the worst values of Rhat

ts_postpred

Time series plot of centered posterior predictive distribution

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>.

  • Maintainer: Matt Tyers
  • License: GPL-2
  • Last published: 2024-10-21