theme_risktable_easysurv {easysurv} | R Documentation |
Plot Theme for easysurv Risk Tables
Description
To be used with ggsurvfit::add_risktable()
.
Usage
theme_risktable_easysurv()
Value
A list containing a ggplot2 theme object.
Examples
library(ggsurvfit)
fit <- survfit2(Surv(time, status) ~ surg, data = df_colon)
fit <- fit |> ggsurvfit() +
theme_easysurv() +
add_risktable(theme = theme_risktable_easysurv())
fit
[Package easysurv version 2.0.1 Index]