trace_plot {LDATS}R Documentation

Produce the trace plot panel for the TS diagnostic plot of a parameter

Description

Produce a trace plot for the parameter of interest (rho or eta) as part of TS_diagnostics_plot. A horizontal line is added to show the median of the posterior.

Usage

trace_plot(x, ylab = "parameter value")

Arguments

x

Vector of parameter values drawn from the posterior distribution, indexed to the iteration by the order of the vector.

ylab

character value used to label the y axis.

Value

NULL.

Examples

 trace_plot(rnorm(100, 0, 1))


[Package LDATS version 0.3.0 Index]