Creates plots from a surv2sample object.
# S3 method for surv2sample
plot(x, measure = NULL, baseline = 0, ...)
surv2sample object
The type of measure used for the plot. When default(=NULL), plot.survfit() is called and KM plots are given. When "relative time" is specified, a plot of relative percentiles with corresponidng 0.95 confidence intervals is generatead.
Indicates the baseline group, 0/1. Default is 0.
For further method
plotCI
in plotrix package