plot.isurvfit | R Documentation |
isurvfit
objects
A plot of survival curves is produced, one curve for each strata.
## S3 method for class 'isurvfit'
plot(x, se.fit=TRUE, ...)
x |
an object of class |
se.fit |
determines whether confidence intervals will be plotted. |
... |
other arguments passed to the standard plot function |
isurvfit
leukemia.surv <- isurvfit(Surv(time, status) ~ x, data = aml, display=FALSE)
plot(leukemia.surv)
legend(100, .9, c("Maintenance", "No Maintenance"),
lty=c(1,1),lwd=c(2,1),col=c('black','red'),pch=c(1,2))
title("IDP Curves\nfor AML Maintenance Study")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.