Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

traceplot

Traceplots of JAGS output


Description

Displays a series of MCMC iteration plots for each monitored parameter in a JAGS analysis. The calculated Rhat value for each parameter is given in the plot title if there is >1 chains.

Usage

traceplot(x, ...)

  ## S3 method for class 'jagsUI'
traceplot(x, parameters=NULL, ...)

Arguments

x

A jagsUI object

parameters

A vector of names (as characters) of parameters to plot. Parameter names must match parameters included in the model. Non-scalar parameters with multiple values (e.g. alpha where alpha is a vector of length 5) can be selected/subsetted (e.g. alpha[1:3]). Calling non-scalar parameters without subsetting (e.g. alpha) will plot all values of alpha. If parameters=NULL, all nodes will be plotted.

...

Further arguments pass to or from other methods.

Author(s)


jagsUI

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

v1.5.1
GPL-3
Authors
Ken Kellner <contact@kenkellner.com>
Initial release
2019-07-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.