R/class-pred.R

reportable_rate.Rd

The reportable rate is defined as the percentage of class predictions that are not equivocal.

reportable_rate(x)

A class_pred object.

class_pred

The reportable rate is calculated as (n_not_equivocal / n).

(n_not_equivocal / n)

x <- class_pred(factor(1:5), which = c(1, 2)) # 3 / 5 reportable_rate(x)#> [1] 0.6