npv.md
Negative Predictive Value
Description
safe_npv <- function(x, y, ...) {
stopifnot(
!anyNA(x), !anyNA(y),
length(x) == length(y)
)
npv(x, y, ...)
}## compute confusion matrix
confusion_matrix <- cmatrix(actual, predicted)
## evaluate negative predictive value
## via S3 dispatching
npv(confusion_matrix)
## additional performance metrics
## belowUsage
Arguments
Value
References
Examples
Last updated