diff --git a/inst/dev/recover-synthetic/rt.R b/inst/dev/recover-synthetic/rt.R index 2661d3283..a447debf0 100644 --- a/inst/dev/recover-synthetic/rt.R +++ b/inst/dev/recover-synthetic/rt.R @@ -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" @@ -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 ),