plot_survtrunc: Plot nonparametric estimates of survival from right-truncated...

plot.survrtruncR Documentation

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 class 'survrtrunc'
plot(x, ...)

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

Arguments

x

Object of class "survrtrunc" as returned by survrtrunc.

...

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


flexsurv documentation built on Sept. 12, 2024, 7:23 a.m.