8 Simple Survival Summaries

Displaying survival probabilities at different times by sex using Kaplan Meier estimates

rm_survsum(data=pembrolizumab,time='os_time',status='os_status',
 group="sex",survtimes=seq(12,36,12),survtimeunit='months')
sex Events/Total Median (95%CI) 12months (95% CI) 24months (95% CI) 36months (95% CI)
Female 39/58 14.29 (9.69, 23.82) 0.55 (0.44, 0.69) 0.34 (0.24, 0.50) 0.29 (0.18, 0.45)
Male 25/36 11.24 (6.14, 25.33) 0.50 (0.36, 0.69) 0.31 (0.18, 0.52) 0.27 (0.15, 0.48)
Log Rank Test ChiSq 0.5 on 1 df
p-value 0.46