Rdocumentation
powered by
Learn R Programming
NNTbiomarker (version 0.29.11)
sesp.from.pv: sesp.from.pv
Description
Computes sensitivity and specificity from predictive values.
Usage
sesp.from.pv(ppv = 0.1, npv = 0.7, pv, prev = 0.2)
Arguments
ppv
Positive predictive value
npv
Negative predictive value
pv
Alternative input of ppv and npv, in matrix or named vector.
prev
Prevalence (prior probability)
Value
c(se=se,sp=sp)