NNT.to.pv {NNTbiomarker} | R Documentation |
NNT.to.pv
Description
Convert between (NNTpos, NNTneg) and (PPV, NPV).
Usage
NNT.to.pv(NNTpos, NNTneg, NNT, prev, calculate.se.sp = F)
Arguments
NNTpos |
NNT for a patient with positive test result |
NNTneg |
NNT for a patient with negative test result |
NNT |
A matrix or vector of (NNTpos, NNTneg) values. |
prev |
Prevalence of the "BestToTreat" group before testing. |
calculate.se.sp |
(default=FALSE) If TRUE, also calculate the sensitivity and specificity using the contra-Bayes theorem. |
Value
For matrix input, cbind(ppv=ppv, npv=npv). For vector input, c(ppv=ppv, npv=npv).
[Package NNTbiomarker version 0.29.11 Index]