View source: R/S3_definitions.R
lines.survmean | R Documentation |
Plots the observed (with extrapolation) and expected survival
curves for all strata in an object created by survmean
## S3 method for class 'survmean'
lines(x, ...)
x |
a |
... |
arguments passed (ultimately) to |
This function is intended to be a workhorse for plot.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.
Always returns 'NULL' invisibly. This function is called for its side effects.
Joonas Miettinen
Other survmean functions:
Surv()
,
plot.survmean()
,
survmean()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.