Learn R Programming

MixStable (version 0.1.0)

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")

Value

Estimated R0 value.

Arguments

incidence

Numeric vector of incidence counts.

serial_interval

Mean serial interval.

growth_model

Type of growth model: "exponential" or "logistic".