confusion.matrix.negative.predictive.value.simple: Confusion Matrix Measures - Negative Predictive Value

View source: R/confusion.matrix.negative.predictive.value.simple.R

confusion.matrix.negative.predictive.valueR Documentation

Confusion Matrix Measures - Negative Predictive Value

Description

Calculate Negative Predictive Value, defined as TN/(TN+FN), for a given confusion matrix.

Usage

confusion.matrix.negative.predictive.value(confusion.matrix)

confusion.matrix.negative.predictive.value.simple(
  true.negative = 0,
  false.negative = 1
)

Arguments

confusion.matrix

Matrix - confusion matrix.

true.negative

Scalar - Cases identified as true negative

false.negative

Scalar - Cases identified as false negative

Value

A scalar with computed value.


burrm/lolcat documentation built on Sept. 15, 2023, 11:35 a.m.