posterior_plot: Produce the posterior distribution histogram panel for the TS...

Description Usage Arguments Value Examples

View source: R/TS_plots.R

Description

Produce a vanilla histogram plot using hist for the parameter of interest (rho or eta) as part of TS_diagnostics_plot. A vertical line is added to show the median of the posterior.

Usage

1
posterior_plot(x, xlab = "parameter value")

Arguments

x

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

xlab

character value used to label the x axis.

Value

NULL.

Examples

1
 posterior_plot(rnorm(100, 0, 1))

weecology/LDATS documentation built on March 28, 2020, 11:20 a.m.