The seeding time is set to the mean of the specified delays, constrained to be at least the maximum generation time
Usage
get_seeding_time(delays, generation_time, rt = rt_opts())Arguments
- delays
- A call to - delay_opts()defining delay distributions and options. See the documentation of- delay_opts()and the examples below for details.
- generation_time
- A call to - gt_opts()(or its alias- generation_time_opts()) defining the generation time distribution used. For backwards compatibility a list of summary parameters can also be passed.
- rt
- A list of options as generated by - rt_opts()defining Rt estimation. Defaults to- rt_opts(). To generate new infections using the non-mechanistic model instead of the renewal equation model, use- rt = NULL. The non-mechanistic model internally uses the setting- rt = rt_opts(use_rt = FALSE, future = "project", gp_on = "R0").