estimate_Rt: Estimate Effective Reproduction Number.

View source: R/calc-Rt.R

estimate_RtR Documentation

Estimate Effective Reproduction Number.

Description

Calculate the effective reproduction number from a model fitted on observations. The fitted parameters are sampled from their posterior distribution to simulate epidemic curves. The effective reproduction number, Rt, is estimated from those simulations.

Usage

estimate_Rt(fitobj, ci = 0.95, n.cores = 1)

Arguments

fitobj

List. Results of the fitted model. Output of function fit().

ci

Numerical. Confidence interval (default = 0.95).

n.cores

Numerical. Number of computer CPU cores used for computation. (default = 1)

Value

A dataframe of estimates for the mean Rt and its confidence interval bounds.


phac-nml-phrsd/wem documentation built on June 6, 2024, 11:06 p.m.