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

plot.survrtrunc {flexsurv} | R 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`.

[Package flexsurv version 2.1 Index]