View source: R/add_censor_mark.R
add_censor_mark | R Documentation |
Add a marking on the figure to represent the time an observations was censored.
add_censor_mark(...)
... |
arguments passed to passed to
|
a ggplot2 figure
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.