locfitProportionalGrowthEstimate.Rd
Generate a smoothed estimate of the relative growth rate of cases compared to some baseline using proportions.
locfitProportionalGrowthEstimate( simpleTimeseries, degree = 2, window = 14, ... )
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, and total is assumed to be 1. |
---|---|
degree | the polynomial degree |
window | the data window in days |
... | may include "nearestNeigbour=FALSE" to disable the tail behaviour of locfit |
a timeseries with growth rate estimates (columns starting with "Growth")