densityplot: Density plots of JAGS output

Description Usage Arguments Author(s)

View source: R/densityplot.R

Description

Displays a series of density plots for posteriors of monitored parameters in a JAGS analysis.

Usage

1
  densityplot(x, parameters=NULL, per_plot=9, ask=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. Calling non-scalar parameters without subsetting (e.g. alpha) will plot all values of alpha. If parameters=NULL, all parameters will be plotted.

per_plot

Maximum number of parameters to include on each plot.

ask

If TRUE, ask user for confirmation before generating each new plot; the default is to ask when output is going to the screen, not when it is going to a file.

Author(s)

Ken Kellner contact@kenkellner.com.


kenkellner/jagsUI documentation built on Oct. 10, 2020, 12:20 p.m.