- x
An R object of class brmsfit
or loo
depending
on the method.
- loo
An R object of class loo
.
- k_threshold
The threshold at which Pareto \(k\)
estimates are treated as problematic. Defaults to 0.7
.
See pareto_k_ids
for more details.
- newdata
An optional data.frame for which to evaluate predictions. If
NULL
(default), the original data of the model is used.
NA
values within factors are interpreted as if all dummy
variables of this factor are zero. This allows, for instance, to make
predictions of the grand mean when using sum coding.
- resp
Optional names of response variables. If specified, predictions
are performed only for the specified response variables.
- check
Logical; If TRUE
(the default), some checks
check are performed if the loo
object was generated
from the brmsfit
object passed to argument fit
.
- recompile
Logical, indicating whether the Stan model should be
recompiled. This may be necessary if you are running reloo
on
another machine than the one used to fit the model.
- future_args
A list of further arguments passed to
future
for additional control over parallel
execution if activated.
- ...
Further arguments passed to
update.brmsfit
and log_lik.brmsfit
.
- fit
An R object of class brmsfit
.