prior_posterior_plot: Create a plot that compares the distribution of prior and...

View source: R/bayesian_workflow.R

prior_posterior_plotR Documentation

Create a plot that compares the distribution of prior and posterior marginal distributions for each variable

Description

To make the plot managable, the distribution for each variable is trimmed at the 95

Usage

prior_posterior_plot(model, irq = 0.95)

Arguments

model

brmsfit model

irq

the interquantile range to plot

Details

The plot title uses 'model$name'

Value

ggplot2::ggplot object


momeara/MPStats documentation built on July 19, 2022, 3:34 p.m.