#' Confusion Matrix Measures - Total Negative Cases
#'
#' Calculate Total Negative cases, defined as TN+FP, for a given confusion matrix.
#'
#' @param false.positive Scalar - Cases identified as false positive
#' @param true.negative Scalar - Cases identified as true negative
#' @param confusion.matrix Matrix - confusion matrix.
#'
#' @return A scalar with computed value.
confusion.matrix.total.negative.simple <- function(
true.negative
,false.positive
) {
true.negative + false.positive
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.