rt_empirical: Empirical estimate of R_t

View source: R/prediction_model.v16.R

rt_empiricalR Documentation

Empirical estimate of R_t

Description

Compute empirical R_t, via Cori et al. (2013) method.

Usage

rt_empirical(cases, window_size, serial_mean, serial_var)

Arguments

cases

Vector of (confirmed) cases.

window_size

The maximum value for the serial interval.

serial_mean

Mean of the serial interval on the log scale.

serial_var

Variance of the serial interval on the log scale.

Value

A vector of same length as cases, giving the empirical estimate of the effective reproductive number over time.


REffectivePred documentation built on April 3, 2025, 10:38 p.m.