Description Usage Arguments Value
Convert between (NNTpos, NNTneg) and (PPV, NPV).
1 | NNT.to.pv(NNTpos, NNTneg, NNT, prev, calculate.se.sp = F)
|
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. |
For matrix input, cbind(ppv=ppv, npv=npv). For vector input, c(ppv=ppv, npv=npv).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.