Skip to contents

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