add_loo {brms} | R Documentation |
Add model fit criteria to model objects
Description
Deprecated aliases of add_criterion
.
Usage
add_loo(x, model_name = NULL, ...)
add_waic(x, model_name = NULL, ...)
add_ic(x, ...)
## S3 method for class 'brmsfit'
add_ic(x, ic = "loo", model_name = NULL, ...)
add_ic(x, ...) <- value
Arguments
x |
An R object typically of class |
model_name |
Optional name of the model. If |
... |
Further arguments passed to the underlying
functions computing the model fit criteria. If you are recomputing
an already stored criterion with other |
ic , value |
Names of model fit criteria
to compute. Currently supported are |
Value
An object of the same class as x
, but
with model fit criteria added for later usage.
Previously computed criterion objects will be overwritten.
[Package brms version 2.21.0 Index]