theme_easysurv {easysurv} | R Documentation |
Plot Theme for easysurv Survival and Hazard Plots
theme_easysurv()
A ggplot2 theme object.
library(ggsurvfit)
fit <- survfit2(Surv(time, status) ~ surg, data = df_colon)
fit |> ggsurvfit() + theme_easysurv()