Seasonality

spim_calc_seasonality(date, seasonality_date_peak, seasonality)

Arguments

date

date in sircovid date format

seasonality_date_peak

date of peak in sircovid date format

seasonality

peak to annual average difference

Value

a value or vector of values with seasonal effect for each date