Learn R Programming

alternativeROC (version 1.0.1)

npv: Diagnostic performance: Negative predictive values from a ROC curve

Description

Diagnostic performance: Negative predictive values (NPV) from a ROC curve

Usage

npv(roc, prevalence)

Value

A matrix with the following columns:

  • threshold: The thresholds used to compute the sensitivity and specificity.

  • sensitivity: The sensitivities at the threshold.

  • specificity: The specificities at the threshold.

  • npv: The negative predictive values at the threshold.

  • prevalence: The prevalence of the endpoint in the study population, as provided in the input.

Arguments

roc

Object of class pROC.

prevalence

Prevalence of the endpoint in the study population.