View source: R/HelperFunctions.R
absoluteRiskReduction | R Documentation |
Calculates absolute risk reduction based on the Kaplan-Meier estimates within risk strata
absoluteRiskReduction(population, timePoint, psMethod)
population |
The study population generated by |
timePoint |
The time at which the absolute risk difference is estimated |
psMethod |
Can be one of "matchOnPs", "stratifyByPs" or "inversePtWeighted". |
A dataframe with the absolute risk-stratum specific absolute risk difference estimates, along with 95 percent confidence interval.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.