Joins the folds that kfold_groups computed in separate calls
into one criterion per equation.
kfold_combine(...)Where every level of every equation has a score, one criterion of
class c("kfold", "loo") per equation, or a named list of them for a
model set, as kfold_groups returns. Otherwise a warning names
the folds without a score, and a kfold_groups_part holds the scores
and diagnostics so far. Pass it to kfold_combine() again with the
parts that recompute those folds.
The parts may be given in any order, and may repeat a fold. For each fold and equation the first scored result is used, so that a part recomputing a failed fold replaces it whether it comes before or after it.