Skip to contents

Creates a comparison table from multiple cross-validation runs with different configurations.

Usage

cv_compare_results(
  cv_list,
  metrics = c("all", "finding", "agreement"),
  show_percentages = TRUE,
  digits = 1,
  use_gt = TRUE
)

Arguments

cv_list

Named list of cv_result objects from forestsearch_tenfold() or forestsearch_Kfold().

metrics

Character vector. Which metrics to include. Options: "finding", "agreement", "all". Default: "all".

show_percentages

Logical. Display as percentages. Default: TRUE.

digits

Integer. Decimal places. Default: 1.

use_gt

Logical. Return gt table if TRUE. Default: TRUE.

Value

A gt table or data.frame comparing CV results across configurations.