plot_prior_post: Plot the prior and posterior deinsities

Description Usage Arguments Value

View source: R/diagnostic_functions.R

Description

Function to plot the prior and posterior densities for parameters. Note that the prior distributions are hard coded here.

Usage

1
plot_prior_post(mcmc_out, prior_col = "red", glm_or_sero)

Arguments

mcmc_out

chain

prior_col

colour of prior distributions, defaults to "red"

glm_or_sero

whether plotting glm parameters or shared serology, either "GLM" or "SERO".

Value

plot of prior and posterior distributions


mrc-ide/YFestimation documentation built on March 13, 2021, 1:40 p.m.