View source: R/confusion.matrix.true.negative.rate.simple.R
confusion.matrix.true.negative.rate | R Documentation |
Calculate True Negative Rate (also called Specificity), defined as TN/N, for a given confusion matrix.
confusion.matrix.true.negative.rate(confusion.matrix)
confusion.matrix.specificity(confusion.matrix)
confusion.matrix.true.negative.rate.simple(
true.negative = 0,
false.positive = 1,
count.negative = true.negative + false.positive
)
confusion.matrix.specificity.simple(
true.negative = 0,
false.positive = 1,
count.negative = true.negative + false.positive
)
confusion.matrix |
Matrix - confusion matrix. |
false.positive |
Scalar - Cases identified as false positive - optional if count.negative specified |
count.negative |
Scalar - Total cases identified as negative - optional if FP specified. |
true.positive |
Scalar - Cases identified as true positive |
A scalar with computed value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.