Skip to contents

This function is useful to observe the distributions of the priors set for the brmsfit model. By adding sample_prior = "only" to the sigmoid_model or a brmsfit model, the model samples only from the prior distributions and can be observed using this plot function to verify that the values intended to be covered are being included.

Usage

density_distributions_plot(
  model,
  pars = NULL,
  labeller = NULL,
  title_label = "Density Distributions"
)

Arguments

model

brmsfit model.

pars

parameters to choose (Default b_<parameter>_Intercept')

labeller

strip off the 'b_' and '_Intercept' from the parameter labels

title_label

string of the plot title. (Default = "Prior Density Plot")

Value

ggplot2::ggplot object.

Examples

if (FALSE) {
  density_distributions_plot(
    model = my_sigmoid_model)
}