waic.measrfit: Widely applicable information criterion (WAIC)

View source: R/loo-methods.R

waic.measrfitR Documentation

Widely applicable information criterion (WAIC)

Description

A loo::waic() method that is customized for measrfit objects. This is a simple wrapper around loo::waic.array(). See the loo package vignettes for details.

Usage

## S3 method for class 'measrfit'
waic(x, ..., force = FALSE)

Arguments

x

A measrfit object.

...

Additional arguments passed to loo::waic.array().

force

If the WAIC criterion has already been added to the model object with add_criterion(), should it be recalculated. Default is FALSE.

Value

The object returned by loo::waic.array().


wjakethompson/measr documentation built on April 12, 2025, 9:46 p.m.