loo_R2_indicator: Summarize the loo_R2 as a plot indicator

View source: R/bayesian_workflow.R

loo_R2_indicatorR Documentation

Summarize the loo_R2 as a plot indicator

Description

Produces a label on the plot using the coordinates of the viewport rather than the plot coordinates. The indicator is with the indicated number of digits as sig figs.

Usage

loo_R2_indicator(model, digits = 2, ...)

Arguments

model

brmsfit

digits

number of significant figure digits

Details

R^2 = mean [<Q2.5>, <Q97.5>]

Value

MPStats::geom_indicator object to that can be added to a ggplot2::ggplot


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