Description Usage Arguments Value References Examples
View source: R/NNTCalculation.R
For survival endpoints, the NNT-KM is computed as the reciprocal of the absolute risk reduction (ARR), which is the difference in Kaplan-Meier estimated survival rates or the difference in cumulative incidences at a time point of clinical interest between the treatment and control groups.
1 |
time |
The time to event or censor. |
status |
The indicator of the event or censor at the end of the follow-up. |
arm |
The variable indicates the treatment (arm = 1) and control (arm = 0) groups. |
tau |
The chosen time point of clinical interest. |
confint |
The percentile of confidence interval. The default value is
|
digits |
The decimal of the results. The default value is |
A matrix contains the KM-NNT and its confidence interval.
1. Altman DG, Andersen PK: Calculating the number needed to treat for trials where the outcome is time to an event. BMJ 319:1492-5, 1999
2. Altman DG: Confidence intervals for the number needed to treat. BMJ 317:1309-12, 1998
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.