Skip to content

Commit

Permalink
activate the rt priors chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
avallecam committed May 4, 2024
1 parent 861b150 commit 63601ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion episodes/quantify-transmissibility.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 63601ff

Please sign in to comment.