View source: R/survdiffr-methods.R
| autoplot.survdiffr | R Documentation |
Draws the density of the bootstrap replicates of each group, with a vertical line at the observed quantile. Infinite replicates (survival estimate never below the requested level) are excluded from the densities and reported in the caption.
## S3 method for class 'survdiffr'
autoplot(object, ...)
object |
a grouped result of |
... |
ignored; kept for compatibility with the generic. |
A ggplot object.
survdiffr(), summary.survdiffr(), theme_survrec()
data(colon)
fit <- survdiffr(Survr(hc, time, event) ~ as.factor(dukes),
data = colon, q = 0.5, seed = 1
)
autoplot(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.