plot_credible_intervals: Plot Credible Intervals

View source: R/ClusterModeling_plottingfunctions.R

plot_credible_intervalsR Documentation

Plot Credible Intervals

Description

Plot credible intervals for the model's pi parameters that estimate the true writer cluster fill counts.

Usage

plot_credible_intervals(
  model,
  interval_min = 0.025,
  interval_max = 0.975,
  facet = FALSE
)

Arguments

model

A model created by fit_model()

interval_min

The lower bound of the credible interval. It must be greater than zero and less than 1.

interval_max

The upper bound of the credible interval. It must be greater than the interval minimum and less than 1.

facet

TRUE uses facet_wrap to create a subplot for each writer. FALSE plots the data on a single plot.

Value

ggplot plot credible intervals

Examples

plot_credible_intervals(model = example_model_1chain)
plot_credible_intervals(model = example_model_1chain, facet = TRUE)


handwriter documentation built on Oct. 13, 2023, 5:10 p.m.