Learn R Programming

surv2sampleComp (version 1.0-5)

plot.surv2sample: Plot method for surv2sample objects

Description

Creates plots from a surv2sample object.

Usage

# S3 method for surv2sample
plot(x, measure = NULL, baseline = 0, ...)

Arguments

x

surv2sample object

measure

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.

baseline

Indicates the baseline group, 0/1. Default is 0.

...

For further method

See Also

plotCI in plotrix package