rt_empirical {REffectivePred}R 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.


[Package REffectivePred version 1.0.0 Index]