Skip to content

Commit

Permalink
update touchstone arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Nov 22, 2023
1 parent e3eaaf3 commit 693277c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions touchstone/script.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ touchstone::benchmark_run(
expr_before_benchmark = { source("touchstone/setup.R") },
default = { epinow(
reported_cases = reported_cases,
generation_time = fixed_generation_time,
delays = fixed_delays,
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(
cores = 2, samples = 500, chains = 2,
Expand All @@ -25,7 +25,7 @@ touchstone::benchmark_run(
expr_before_benchmark = { source("touchstone/setup.R") },
uncertain = { epinow(
reported_cases = reported_cases,
generation_time = 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(
Expand All @@ -39,9 +39,9 @@ touchstone::benchmark_run(
# benchmark readme example without delays
touchstone::benchmark_run(
expr_before_benchmark = { source("touchstone/setup.R") },
no_delays = { epinow(
delay_opts(no_delays) = { epinow(
reported_cases = reported_cases,
generation_time = 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,
Expand All @@ -56,8 +56,8 @@ touchstone::benchmark_run(
expr_before_benchmark = { source("touchstone/setup.R") },
stationary = { epinow(
reported_cases = reported_cases,
generation_time = fixed_generation_time,
delays = fixed_delays,
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(
cores = 2, samples = 500, chains = 2,
Expand All @@ -72,8 +72,8 @@ touchstone::benchmark_run(
expr_before_benchmark = { source("touchstone/setup.R") },
random_walk = { epinow(
reported_cases = reported_cases,
generation_time = fixed_generation_time,
delays = fixed_delays,
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,
stan = stan_opts(
Expand Down

0 comments on commit 693277c

Please sign in to comment.