dalmatian (version 1.0.0)

traceplots.dalmatian: Traceplots (dalmatian)

Description

Construct traceplots for key (or selected) parameters in a dalmatian object.

Usage

# S3 method for dalmatian
traceplots(
  object,
  family = NULL,
  nstart = start(object$coda),
  nend = end(object$coda),
  nthin = thin(object$coda),
  show = TRUE,
  return_plots = TRUE,
  ...
)

Arguments

object

Object of class dalmatian created by dalmatian().

family

String defining selected family of variables (see help for ggs()).

nstart

Start point for computing summary statistics (relative to true start of chain).

nend

End point for computing summary statistics (relative to true start of chain).

nthin

Thinning factor for computing summary statistics (relative to full chain and not previously thinned output).

show

If TRUE then plots are displayed on the computer screen and the session is paused between each plot.

return_plots

If TRUE then return list of ggplot objects.

...

Ignored

Value

A list of ggplot objects that can be used to later reproduce the plots via print.

References

Bonner, S., Kim, H., Westneat, D., Mutzel, A., Wright, J., and Schofield, M.. (2021). dalmatian: A Package for Fitting Double Hierarchical Linear Models in R via JAGS and nimble. Journal of Statistical Software, 100, 10, 1--25. 10.18637/jss.v100.i10.