From 63601ffb7d9e955a91912458de700d7dfaa973df Mon Sep 17 00:00:00 2001 From: Andree Valle Campos Date: Sat, 4 May 2024 04:10:13 +0100 Subject: [PATCH] activate the rt priors chunk --- episodes/quantify-transmissibility.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/episodes/quantify-transmissibility.Rmd b/episodes/quantify-transmissibility.Rmd index d2acffb9..0515845f 100644 --- a/episodes/quantify-transmissibility.Rmd +++ b/episodes/quantify-transmissibility.Rmd @@ -307,7 +307,7 @@ The function `epinow()` is a wrapper for the function `estimate_infections()` us There are numerous other inputs that can be passed to `epinow()`, see `EpiNow2::?epinow()` for more detail. One optional input is to specify a log normal prior for the effective reproduction number $R_t$ at the start of the outbreak. We specify a mean and standard deviation as arguments of `prior` within `rt_opts()`: -```{r, eval = FALSE} +```{r, eval = TRUE} rt_log_mean <- convert_to_logmean(2, 1) rt_log_sd <- convert_to_logsd(2, 1) rt <- rt_opts(prior = list(mean = rt_log_mean, sd = rt_log_sd))