Generate a smoothed estimate of the absolute growth rate of cases using a poisson model.

locfitGrowthEstimate(
  simpleTimeseries,
  degree = 2,
  window = 14,
  weightByWeekday = FALSE,
  ...
)

Arguments

simpleTimeseries

- a minimal time-series including date, value, and if available total. If total is present the proportion is value/total. otherwise it is value.

degree

the polynomial degree

window

the data window in days

...

may include "nearestNeigbour=FALSE" to disable the tail behaviour of locfit

Value

a timeseries with growth rate estimates (columns starting with "Growth")