View source: R/plot_followup.R
plot_followup | R Documentation |
Plot a patient timeline containing
plot_followup(
object = NULL,
add_median = TRUE,
point_size = 1,
line_size = 0.5,
theme = ggplot2::theme_minimal()
)
object |
iwillsurvive. An iwillsurvive object |
add_median |
logical. If TRUE, add a line showing median. |
point_size |
numeric. Width of points |
line_size |
numeric. Width of lines |
theme |
A ggplot2 theme |
ggplot2
cohort_iws <- iwillsurvive(cohort_survival,
followup_time = "followup_days",
index_title = "LOT1 Start Date",
event_title = "Death",
terms = "condition"
)
plot_followup(cohort_iws)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.