Stores each equation's criterion from kfold_groups with the
equation and reweights the set by them, recording
loo_controls$leave_out = "kfold" so that amend,
pull_out and c() keep the scores.
kfold_weights(x, criteria, method = NULL)The named list returned by kfold_groups or
kfold_combine for the same set.
"pseudobma" or "stacking". By default the
set's current weighting method is retained.
The model set reweighted by the exact K-fold scores.
Each criterion must come from the same fit and data as the
equation it is given to, which is checked against a fingerprint of the
posterior draws and the data. update() and an amend() that
adds an equation refuse a set weighted this way unless
loo_controls names another leave_out, because the refitted
or added equations have no such score.