estimate_early_dynamics: Calculate prior infections and fit early growth

View source: R/create.R

estimate_early_dynamicsR Documentation

Calculate prior infections and fit early growth

Description

Calculates the prior infections and growth rate based on the first week's data.

Usage

estimate_early_dynamics(cases, seeding_time)

Arguments

cases

Numeric vector; the case counts from the input data.

seeding_time

Integer; seeding time, usually obtained using get_seeding_time().

Value

A list containing prior_infections and prior_growth.


epiforecasts/EpiNow2 documentation built on Dec. 20, 2024, 10:12 p.m.