Skip to content

Commit

Permalink
Get i2extras to work with SI passed as epidist
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo authored and CarmenTamayo committed Mar 6, 2024
1 parent 4d64dec commit d36b447
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ This section contains:

```{r }
res_R_wl <- last_trends %>%
mutate(R = map(model, epitrix::lm2R0_sample, w = si, 500)) %>%
mutate(R = map(model, epitrix::lm2R0_sample, w = si$prob_dist$d(si_x))) %>%
dplyr::select({{ group_var }}, R) %>%
unnest(R)
Expand Down

0 comments on commit d36b447

Please sign in to comment.