plot.isurvfit {IDPSurvival} | R Documentation |
Plot method for isurvfit
objects
Description
A plot of survival curves is produced, one curve for each strata.
Usage
## S3 method for class 'isurvfit'
plot(x, se.fit=TRUE, ...)
Arguments
x |
an object of class |
se.fit |
determines whether confidence intervals will be plotted. |
... |
other arguments passed to the standard plot function |
See Also
Examples
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")
[Package IDPSurvival version 1.2 Index]