服务热线
178 0020 3020
> library(survival)
> library(survminer)
> fit = survfit(Surv(time,status)~sex, data = lung)
> ggsurvplot(fit,title="R2-29 CC",conf.int = TRUE, conf.int.alpha = 0.1, legend.title = "Sex",legend.labs = c("Male","Female"),pval=TRUE,pval.method = TRUE,surv.median.line="hv", risk.table = "abs_pct",risk.table.col="sex",ncensor.plot=TRUE)
附件