lifecycle::badge("maturing")
When reporting results, we might not want all
the nested tibble
s and process information columns.
This function selects the evaluation metrics and model formulas only.
If an expected column is not in the `results`
tibble
, it is simply ignored.
select_metrics(results, include_definitions = TRUE, additional_includes = NULL)
The results tibble
with only the metric and model definition columns.
Results tibble
. E.g. from
cross_validate()
or evaluate()
.
Whether to include the Dependent
,
Fixed
and (possibly) Random
and HParams
columns. (Logical)
Names of additional columns to select. (Character)
Ludvig Renbo Olsen, r-pkgs@ludvigolsen.dk