solve_seir_model: solve SEIR model for incidence

View source: R/forecasting_practical.R

solve_seir_modelR Documentation

solve SEIR model for incidence

Description

solve_seir_model solves the SEIR model for the weekly incidence

Usage

solve_seir_model(
  R_0,
  latent_period,
  infectious_period,
  N,
  I_0,
  n_weeks,
  S_0 = N - I_0,
  E_0 = 0,
  full_output = FALSE
)

Arguments

R_0

numeric vector of length 1: basic reproduction number

latent_period

numeric vector of length 1: latent period

infectious_period

numeric vector of length 1: infectious period

N

numeric vector of length 1: population size

I_0

numeric vector of length 1: initial number of infectious individuals

n_weeks

numeric vector of length 1: number of weeks for which to solve the model

Value

data frame with predicted points and original data


c97sr/learnidd documentation built on Jan. 12, 2025, 4:24 p.m.