| autoplot.mcf | R Documentation |
Draws the mean cumulative function estimated by mcf() as a step
function, one colour per group.
## S3 method for class 'mcf'
autoplot(object, ...)
object |
an object of class |
... |
ignored; kept for compatibility with the generic. |
A ggplot object.
mcf(), theme_survrec()
data(colon)
autoplot(mcf(Survr(hc, time, event) ~ as.factor(dukes), data = colon))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.