traceplot: Trace plot of MCMC chains

Description Usage Arguments Value

Description

Displays a plot of iterations as a function of sampled values with a separate plot per variable.

Usage

1
traceplot(x, pars = NULL, options = list(), ...)

Arguments

x

a Powder.Individual or Powder.Hierarchical object

pars

a character vector of parameters to plot

options

a list that can supply any of the following components

  • with.burnin a logical indicating whether to include burnin with plot. Defaults to false.

  • ggplot_theme a ggplot theme

  • return.plot a logical indicating whether to return the ggplot object. A plot will be displayed regardless. Defaults to false.

...

additional arguments

subject

a numeric vector of subject numbers to plot. If not supplied, the group-level parameters will be plotted.

Value

A plot of the samples as a function of iteration, parameter, and if supplied, subject


jeff324/powder documentation built on June 4, 2019, 3:04 a.m.