From 950f40a7534f02ff09a2a4846cfb35625603ec4b Mon Sep 17 00:00:00 2001 From: jamesaazam Date: Mon, 1 Jul 2024 13:30:14 +0100 Subject: [PATCH] Use generation_time_opts in touchstone as currently not in main --- touchstone/script.R | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/touchstone/script.R b/touchstone/script.R index c445246fd..a0c37b300 100644 --- a/touchstone/script.R +++ b/touchstone/script.R @@ -9,7 +9,7 @@ touchstone::benchmark_run( expr_before_benchmark = { source("touchstone/setup.R") }, default = { epinow( data = reported_cases, - generation_time = gt_opts(fixed_generation_time), + generation_time = generation_time_opts(fixed_generation_time), delays = delay_opts(fixed_delays), rt = rt_opts(prior = list(mean = 2, sd = 0.2)), stan = stan_opts( @@ -25,7 +25,7 @@ touchstone::benchmark_run( expr_before_benchmark = { source("touchstone/setup.R") }, uncertain = { epinow( data = reported_cases, - generation_time = gt_opts(example_generation_time), + generation_time = generation_time_opts(example_generation_time), delays = delays, rt = rt_opts(prior = list(mean = 2, sd = 0.2)), stan = stan_opts( @@ -41,7 +41,7 @@ touchstone::benchmark_run( expr_before_benchmark = { source("touchstone/setup.R") }, no_delays = { epinow( data = reported_cases, - generation_time = gt_opts(fixed_generation_time), + generation_time = generation_time_opts(fixed_generation_time), rt = rt_opts(prior = list(mean = 2, sd = 0.2)), stan = stan_opts( cores = 2, samples = 500, chains = 2, @@ -56,7 +56,7 @@ touchstone::benchmark_run( expr_before_benchmark = { source("touchstone/setup.R") }, stationary = { epinow( data = reported_cases, - generation_time = gt_opts(fixed_generation_time), + generation_time = generation_time_opts(fixed_generation_time), delays = delay_opts(fixed_delays), rt = rt_opts(prior = list(mean = 2, sd = 0.2), gp_on = "R0"), stan = stan_opts( @@ -72,7 +72,7 @@ touchstone::benchmark_run( expr_before_benchmark = { source("touchstone/setup.R") }, random_walk = { epinow( data = reported_cases, - generation_time = gt_opts(fixed_generation_time), + generation_time = generation_time_opts(fixed_generation_time), delays = delay_opts(fixed_delays), rt = rt_opts(prior = list(mean = 2, sd = 0.2), rw = 7), gp = NULL,