trace_plot: Trace plot of specified parameters against iteration number.

Description Usage Arguments

Description

Trace plot of specified parameters against iteration number. Good sampling is indicated by convergence and nice mixing of chains.

Usage

1
2
trace_plot(data, thin = 2000, pars = NULL, xlab = "iterations",
  ylab = "standardized value", scales = "free", ...)

Arguments

data

A single data.frame or list of data.frames

thin

Numeric value (default =2000) indicating number of samples to include in plot. Chains are thinned to specified length using thin\_chains.

pars

List of parameters to include

xlab

label for xaxis

ylab

label for yaxis

scales

By default set to "free", indicating each subplot will have different scale on yaxis. Set to "fixed" to enforce similar axes over all plots.

...

Extra augments for ggplot2::theme function.


traitecoevo/stateliner documentation built on May 31, 2019, 7:44 p.m.