empirical_r0: Empirical R0 estimation using growth model
Description
Estimates the basic reproduction number (R0) using a growth model (exponential or logistic)
fitted to incidence data.
Usage
empirical_r0(incidence, serial_interval, growth_model = "exponential")
Arguments
- incidence
Numeric vector of incidence counts.
- serial_interval
Mean serial interval.
- growth_model
Type of growth model: "exponential" or "logistic".