ard_survival_survfit_diff {cardx} | R Documentation |
ARD Survival Differences
Description
Calculate differences in the Kaplan-Meier estimator of survival using the
results from survival::survfit()
.
Usage
ard_survival_survfit_diff(x, times, conf.level = 0.95)
Arguments
x |
( |
times |
( |
conf.level |
(scalar |
Value
an ARD data frame of class 'card'
Examples
library(ggsurvfit)
library(survival)
survfit(Surv_CNSR() ~ TRTA, data = cards::ADTTE) |>
ard_survival_survfit_diff(times = c(25, 50))
[Package cardx version 0.2.0 Index]