Learn R Programming

emil (version 2.0.2)

plot.Surv: Plot Surv vector

Description

Plot Surv vector

Usage

## S3 method for class 'Surv':
plot(x, y, segments = TRUE, flip = FALSE,
  legendpos = "topright", ...)

Arguments

x
Surv vector.
y
Y-values.
segments
Whether to draw horizontal segments.
flip
Flip the plot to show time on y.
legendpos
Position of legend, see legend. Set to NA or NULL to suppress legend.
...
Sent to plot.