Description Usage Arguments Value
View source: R/diagnostic_functions.R
Function to plot the prior and posterior densities for parameters. Note that the prior distributions are hard coded here.
1 | plot_prior_post(mcmc_out, prior_col = "red", glm_or_sero)
|
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". |
plot of prior and posterior distributions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.