Learn R Programming

easysurv (version 2.0.1)

theme_easysurv: Plot Theme for easysurv Survival and Hazard Plots

Description

Plot Theme for easysurv Survival and Hazard Plots

Usage

theme_easysurv()

Arguments

Value

A ggplot2 theme object.

Examples

Run this code
library(ggsurvfit)
fit <- survfit2(Surv(time, status) ~ surg, data = df_colon)
fit |> ggsurvfit() + theme_easysurv()

Run the code above in your browser using DataLab