theme_ggsurvfit | R Documentation |
Returns ggplot list of calls defining a theme.
theme_ggsurvfit_default()
: Builds on theme_bw()
with increased text sizes.
theme_ggsurvfit_KMunicate()
: Theme to create KMunicate-styled figures. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1136/bmjopen-2019-030215")}
theme_ggsurvfit_default()
theme_ggsurvfit_KMunicate()
a ggplot2 theme
survfit2(Surv(time, status) ~ sex, data = df_lung) %>%
ggsurvfit(theme = theme_ggsurvfit_default()) +
scale_ggsurvfit()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.