Learn R Programming

emil (version 2.2.10)

plot_Surv: Plot Surv vector [DEPRECATED]

Description

Package survival includes an official plot function as of version 2.42-5. This will therefore be removed in the next major update.

Usage

plot_Surv(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.