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