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 isFALSE
.
Value
The object returned by loo::waic.array()
.