plot.isurvfit: Plot method for 'isurvfit' objects

Description Usage Arguments See Also Examples

View source: R/isurvfit.r

Description

A plot of survival curves is produced, one curve for each strata.

Usage

1
2
## S3 method for class 'isurvfit'
plot(x, se.fit=TRUE, ...)

Arguments

x

an object of class isurvfit, usually returned by the isurvfit function.

se.fit

determines whether confidence intervals will be plotted.

...

other arguments passed to the standard plot function

See Also

isurvfit

Examples

1
2
3
4
5
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") 

IDPSurvival documentation built on May 1, 2019, 10:24 p.m.