We will use the cadtte data set from the random.cdisc.data package for the time-to-event summary table. We start by filtering the adtte data set for the overall survival observations, converting time of overall survival to months, creating new variables for event and non-event information and binarizing the ARM variable.
Warning: The `strat` argument of `s_coxph_pairwise()` is deprecated as of tern 0.9.3.
ℹ Please use the `strata` argument instead.
ℹ The deprecated feature was likely used in the rtables package.
Please report the issue at
<https://github.com/insightsengineering/rtables/issues>.
CTRL TRT
(N=134) (N=266)
——————————————————————————————————————————————————————————————
Patients with event (%) 58 (43.3%) 127 (47.7%)
Patients without event (%) 76 (56.7%) 139 (52.3%)
Time to Event (months)
Median NA NA
95% CI (9.4, NA) (9.2, NA)
25% and 75%-ile 5.6, NA 5.4, NA
Range 0.9 to 16.3 {1} 0.5 to 16.4 {1}
Unstratified Analysis
p-value (log-rank) 0.4068
Hazard Ratio 1.14
95% CI (0.84, 1.56)
Stratified Analysis
p-value (log-rank) 0.4243
Hazard Ratio 1.13
95% CI (0.83, 1.55)
——————————————————————————————————————————————————————————————
{1} - Censored observation: range maximum
——————————————————————————————————————————————————————————————