powered by
Add a marking on the figure to represent the time an observations was censored.
add_censor_mark(...)
a ggplot2 figure
arguments passed to passed to ggplot2::geom_point(...) with defaults shape = 3 and size = 2
ggplot2::geom_point(...)
shape = 3
size = 2
Visit the gallery for examples modifying the default figures
survfit2(Surv(time, status) ~ 1, data = df_lung) %>% ggsurvfit() + add_confidence_interval() + add_censor_mark() + scale_ggsurvfit()
Run the code above in your browser using DataLab