fit_acc_fun: Inverse function of the fitted accuracy or kappa

View source: R/fit_acc_fun.R

fit_acc_funR Documentation

Inverse function of the fitted accuracy or kappa

Description

Used to calculate the sample size, given the parameters and a metric value.

Usage

fit_acc_fun(a, b, c, x)

Arguments

a, b, c

Coefficient from fitted formula

x

Metric value (between 0 and 1)

Value

Corresponding sample size given the metric and parameters, solving for the fitted formula.


gpcastelo/ML-minimum-sample-size documentation built on June 3, 2023, 8:48 p.m.