plot.survmean: Graphically Inspect Curves Used in Mean Survival Computation

Description Usage Arguments Details Author(s) See Also

Description

Plots the observed (with extrapolation) and expected survival curves for all strata in an object created by survmean

Usage

1
2
## S3 method for class 'survmean'
plot(x, ...)

Arguments

x

a survmean object

...

arguments passed (ultimately) to matlines; you may, therefore, supply e.g. xlab through this, though arguments such as lty and col will not work

Details

For examples see survmean. This function is intended only for graphically inspecting that the observed survival curves with extrapolation and the expected survival curves have been sensibly computed in survmean.

If you want finer control over the plotted curves, extract the curves from the survmean output using

attr(x, "curves")

where x is a survmean object.

Author(s)

Joonas Miettinen

See Also

Other survmean_related: lines.survmean, survmean



Search within the popEpi package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.