specificity: Specificity

View source: R/specificity.R

specificityR Documentation

Specificity

Description

Calculate Specificity using confusion matrix. "Specificity" is just another term to designate "True Negative Ratio". This is the complement metric to "Sensitivity" metric. In this package the function is just a wrapper for 'true_negative_ratio()'.

Usage

specificity(confusion_matrix)

Arguments

confusion_matrix

Confusion matrix to be used.

Value

vector of Specificity values.


nikitagusarov/performancer documentation built on Jan. 12, 2023, 12:19 a.m.