
Calculate a growth rate from a reproduction number and an infectivity profile
Source:R/estimator-rt-wallinga.R
inv_wallinga_lipsitch.Rd
Calculate a growth rate from a reproduction number and an infectivity profile
Arguments
- Rt
a vector of reproduction numbers
- y
an empirical infectivity profile as a probability vector or as a dataframe of format: A dataframe containing the following columns:
boot (anything + default(1)) - a bootstrap identifier
probability (proportion) - the probability of new event during this period.
a0 (double) - the beginning of the time period (in days)
a1 (double) - the end of the time period (in days)
Minimally grouped by: boot (and other groupings allowed). A default value is defined.
- a1
the end time of the infectivity profile probability estimate (defaults to 0.5,1.5,2.5,...).
- a0
the start time of the infectivity profile probability estimate (defaults to 0,0.5,1.5,...).