analyze_cv: Get CV prediction statistics.

View source: R/utils_analysis.R

analyze_cvR Documentation

Get CV prediction statistics.

Description

Computes fit statistics for each CV fold and returns the statistics' means with 95% confidence intervals (CI).

Usage

analyze_cv(data, fun, ci_method = c("percentile", "bca", "norm"), ...)

Arguments

data

a data frame with .outcome, .fitted and .resample columns.

fun

analysis function.

ci_method

method used for 95% CI calculation.

...

additional arguments passed to the analysis function.

Value

a tibble with the statistic values.


PiotrTymoszuk/caretExtra documentation built on Oct. 15, 2023, 10:03 p.m.