R/new_simulation.R
spim_beta_mult_seasonality.Rd
Calculate multiplicative beta scaling factor due to seasonality.
spim_beta_mult_seasonality(dates, date_peak, value)
A sircovid date, fractional dates (e.g. 100.25) are allowed.
Date of peak as a sircovid::sircovid_date value (a single number)
Size of the peak to annual average difference. A value of 0.1 will produce multiplicative values that range from 0.9 to 1.1.
A vector the same length as dates
with the scaling
factor.