From d2f479815677a49409bbef52a7b93fab477e196c Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 25 Nov 2024 10:09:50 +0000 Subject: [PATCH] check getting started -drive by fix plotting --- vignettes/epidist.Rmd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vignettes/epidist.Rmd b/vignettes/epidist.Rmd index 399652a84..e7c8e807c 100644 --- a/vignettes/epidist.Rmd +++ b/vignettes/epidist.Rmd @@ -173,12 +173,12 @@ obs_cens |> ) + # The primary event censoring intervals geom_errorbarh( - aes(xmin = ptime_lwr, xmax = ptime_upr, y = case, yend = case), + aes(xmin = ptime_lwr, xmax = ptime_upr, y = case), col = "#56B4E9", height = 5 ) + # The secondary event censoring intervals geom_errorbarh( - aes(xmin = stime_lwr, xmax = stime_upr, y = case, yend = case), + aes(xmin = stime_lwr, xmax = stime_upr, y = case), col = "#009E73", height = 5 ) + geom_point(aes(x = ptime), fill = "white", col = "#56B4E9", shape = 21) + @@ -190,7 +190,6 @@ obs_cens |> During an outbreak we will usually be estimating delays in real time. The result is that only those cases with a secondary event occurring before some time will be observed. This is called (right) truncation, and biases the observation process towards shorter delays: - ```{r} obs_time <- 25