plot_posterior {BTSPAS}R Documentation

Create posterior plot of a parameter with credible interval limits shown as vertical lines

Description

Create posterior plot of a parameter with credible interval limits shown as vertical lines

Usage

plot_posterior(mcmc.sample, alpha = 0.05, ncol = 1)

Arguments

mcmc.sample

Data frame with 2 columns. parm, and sample. A separate posterior plot is generated for each parameter.

alpha

Used to determine credible interval.

ncol

Number of columns in the plot (default=1).

Value

Posterior plot(s) as an ggplot2 object


[Package BTSPAS version 2021.11.2 Index]