precision: Precision (aka PPV)

View source: R/mod_error.R

precisionR Documentation

Precision (aka PPV)

Description

The first factor level is considered the positive case.

Usage

precision(true, estimated, harmonize = FALSE, verbosity = 1)

Arguments

true

Factor: True labels

estimated

Factor: Estimated labels

harmonize

Logical: If TRUE, run factor_harmonize first

verbosity

Integer: If > 0, print messages to console.


egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.