reportable_rate: Calculate the reportable rate

View source: R/class-pred.R

reportable_rateR Documentation

Calculate the reportable rate

Description

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

Usage

reportable_rate(x)

Arguments

x

A class_pred object.

Details

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

Examples


x <- class_pred(factor(1:5), which = c(1, 2))

# 3 / 5
reportable_rate(x)


topepo/probably documentation built on April 6, 2024, 7:32 p.m.