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)

## Arguments

results A list of lists, corresponding to each result, with the inner lists 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.

## Value

A list of combined results.

## Details

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.

combiners