我正在使用survminer R软件包运行生存概率(Kaplan-Meier)曲线。我在风险表上进行设置,但是,我想更改默认标题“风险数字”。我该怎么办?
我正在使用以下代码:
survAL <- survfit(Surv(time, death) ~ AL.Factor, data = wave1)
ggsurvplot(survAL, legend.title = "Allostatic Load", legend.labs = c("Low",
"Mid", "High"), ylim = c(0.90, 1.0), conf.int = TRUE, pval = TRUE,
xlim = c(0,10), xlab = "Time in years", ylab = "Survival Probability",
break.time.by = 2, ggtheme = theme_light(), risk.table = TRUE,
risk.table.col = "strata", data = wave1)