Learn R Programming

alternativeROC (version 1.0.1)

ppv: Diagnostic performance: Positive predictive values from a ROC curve

Description

Diagnostic performance: Positive predictive values (PPV) from a ROC curve

Usage

ppv(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.

  • ppv: The positive 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.