Applies combiners
: functions that collapse across a list of
similarly structured results, to a list of such lists.
combine_results(results, combiners = NULL, smart_combiners = TRUE)
A list
of list
s, corresponding to each result,
with the inner list
s corresponding to results from each fold.
A list
with the same names as results, containing
combiner function names or functions for each result.
A logical
indicating whether combiners should
be guessed from the data type of the results if they are missing.
A list of combined results.
In theory you should never call this function directly, because it is called automatically by cross_validate. The defaults, combiners guessed based on data type, should work in most cases.