ecdf_plot: Produce the posterior distribution ECDF panel for the TS...

View source: R/TS_plots.R

ecdf_plotR Documentation

Produce the posterior distribution ECDF panel for the TS diagnostic plot of a parameter

Description

Produce a vanilla ECDF (empirical cumulative distribution function) plot using ecdf 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

ecdf_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

 ecdf_plot(rnorm(100, 0, 1))


LDATS documentation built on Sept. 19, 2023, 5:08 p.m.