Learn R Programming

flexsurv (version 2.3.2)

plot.survrtrunc: Plot nonparametric estimates of survival from right-truncated data.

Description

plot.survrtrunc creates a new plot, while lines.survrtrunc adds lines to an exising plot.

Usage

# S3 method for survrtrunc
plot(x, ...)

# S3 method for survrtrunc lines(x, ...)

Arguments

x

Object of class "survrtrunc" as returned by survrtrunc.

...

Other arguments to be passed to plot.survfit or lines.survfit.