Calculates a weighting to apply to each day of week

weekendEffect(simpleTimeseries, valueVar = "value", ...)

Arguments

simpleTimeseries

a covid timeseries data frame

valueVar

the variable with the weekly periodicity

...

Value

the dataframe with a weekday.wt column which says how much that value is over expressed in the data