Get startedGet started for free

Plotting options

Why do we need the option surv.geom = geom_line when we plot the survival function estimated by a Weibull model?

ggsurvplot_df(surv_wbmod, surv.geom = geom_line,
  linetype = "horTh", color = "tsize", legend.title = NULL)

This exercise is part of the course

Survival Analysis in R

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise