From 281d0350191a56633220b223f4af22ee8c2e3e61 Mon Sep 17 00:00:00 2001 From: Sebastian Funk Date: Fri, 20 Oct 2023 05:55:56 +0100 Subject: [PATCH] fix synhetic rt recovery --- inst/dev/recover-synthetic/rt.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ),