问题描述:

Is it possible to format the km.coxph.plot using ggplot?

km.coxph.plot(formula.s=formula(Surv(time, event) ~ gg), data.s=dd, sub.s="all", x.label="Time (years)", y.label="Survival", main.title="", sub.title="", leg.text=c("Low ", "Intermediate ", "High "), leg.pos="right", leg.inset=0.05,leg.bty = "0", o.text=FALSE, v.line=FALSE, h.line=FALSE, .col=c("darkblue", "darkgreen", "darkred"), .lty=1, show.n.risk=TRUE, n.risk.step=1, n.risk.cex=0.85, verbose=FALSE, ylim=c(0.3,1))

And how do I get the legend smaller?

相关阅读:
Top