tracedens_jags: Combination of trace plots and by-chain kernel densities of...

tracedens_jagsR Documentation

Combination of trace plots and by-chain kernel densities of jagsUI object

Description

Combination of trace plots and by-chain kernel densities of a whole jagsUI object, or optional subset of parameter nodes.

Usage

tracedens_jags(
  x,
  p = NULL,
  exact = FALSE,
  parmfrow = NULL,
  lwd = 1,
  shade = TRUE,
  ...
)

Arguments

x

Posterior jagsUI object

p

Parameter name for subsetting: if this is specified, only parameters with names beginning with this string will be plotted.

exact

Whether p should be an exact match (TRUE) or just match the beginning of the string (FALSE). Defaults to FALSE.

parmfrow

Optional call to par(mfrow) for the number of rows & columns of plot window. Returns the graphics device to previous state afterward.

lwd

Line width for plotting. Defaults to 1.

shade

Whether to add semi-transparent shading to by-chain kernel densities. Defaults to TRUE.

...

additional plotting arguments

Value

NULL

Author(s)

Matt Tyers

See Also

trace_jags, chaindens_jags, pairstrace_jags

Examples


tracedens_jags(asdf_jags_out, parmfrow=c(4,2))
tracedens_jags(asdf_jags_out, p="a", parmfrow=c(3,1))

jagshelper documentation built on Oct. 22, 2024, 1:06 a.m.