Skip to content

Commit

Permalink
Add comments to make clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
athowes committed Nov 21, 2024
1 parent a789711 commit f613a3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vignettes/epidist.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,12 @@ obs_cens |>
aes(x = ptime, xend = stime, y = case, yend = case),
col = "grey"
) +
# The primary event censoring intervals
geom_errorbarh(
aes(xmin = ptime_lwr, xmax = ptime_upr, y = case, yend = case),
col = "#56B4E9", height = 5
) +
# The secondary event censoring intervals
geom_errorbarh(
aes(xmin = stime_lwr, xmax = stime_upr, y = case, yend = case),
col = "#009E73", height = 5
Expand Down

0 comments on commit f613a3c

Please sign in to comment.