View source: R/new_simulation.R
spim_beta_mult_seasonality | R Documentation |
Calculate multiplicative beta scaling factor due to seasonality.
spim_beta_mult_seasonality(dates, date_peak, value)
dates |
A sircovid date, fractional dates (e.g. 100.25) are allowed. |
date_peak |
Date of peak as a sircovid::sircovid_date value (a single number) |
value |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.