addObservedRate.Rd
Add in a simulated rate of observed cases based on the underlying growth rate and imports with a weekly variation
addObservedRate( growthSimulation, observedFractionExpr = 1, weekendEffect = 0.1 )
growthSimulation | - the growth rate simulation |
---|---|
observedFractionExpr | - what proportion of the cases are observed, either as a number, a vector of same length as the simulation, or a way of calculating that number from the growthSimulation. Typically under 1. |
weekendEffect | - what fraction of cases can we expect to not be observed on a saturday or sunday. |
the timeseries with an expected observed rate in the column Est.observed