View source: R/ard_survival_survfit_diff.R
ard_survival_survfit_diff | R Documentation |
Calculate differences in the Kaplan-Meier estimator of survival using the
results from survival::survfit()
.
ard_survival_survfit_diff(x, times, conf.level = 0.95)
x |
( |
times |
( |
conf.level |
(scalar |
an ARD data frame of class 'card'
library(ggsurvfit)
library(survival)
survfit(Surv_CNSR() ~ TRTA, data = cards::ADTTE) |>
ard_survival_survfit_diff(times = c(25, 50))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.