r2_loo: Calculate PSIS-loo R² for a given brms fit

View source: R/loo_handler.R

r2_looR Documentation

Calculate PSIS-loo R² for a given brms fit

Description

Calculate PSIS-loo R² for a given brms fit

Usage

r2_loo(fit, psis_object = NULL, yrep = NULL, return_object = FALSE, ...)

Arguments

fit

brms fit to calculate rmse for

...

Value

custom_loo_object object with R² acting as elpd.


sims1253/bayesim documentation built on Aug. 13, 2024, 5:59 p.m.