Skip to content

Commit

Permalink
fix synhetic rt recovery
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Oct 20, 2023
1 parent cfed869 commit 281d035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/dev/recover-synthetic/rt.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ for (method in c("nuts")) {
# RW (every month) + stationary Guassian process
gp_rw[[method]] <-
estimate_infections(sim_cases,
example_generation_time = generation_time_opts(example_generation_time),
generation_time = generation_time_opts(example_generation_time),
delays = delay_opts(example_incubation_period + example_reporting_delay),
rt = rt_opts(
prior = list(mean = 2, sd = 0.25), rw = 14, gp_on = "R0"
Expand All @@ -125,7 +125,7 @@ for (method in c("nuts")) {
if (fit_daily) {
daily_rw[[method]] <-
estimate_infections(sim_cases,
example_generation_time = generation_time_opts(example_generation_time),
generation_time = generation_time_opts(example_generation_time),
delays = delay_opts(
example_incubation_period + example_reporting_delay
),
Expand Down

0 comments on commit 281d035

Please sign in to comment.