infectionODEs: Run the SEIR model for the given parameters

View source: R/epimodel.R

infectionODEsR Documentation

Run the SEIR model for the given parameters

Description

Run the SEIR model for the given parameters

Usage

infectionODEs(population, initial_infected, vaccine_calendar,
  contact_matrix, susceptibility, transmissibility, infection_delays,
  interval = 7, dates = NULL)

Arguments

population

The population size of the different age groups, subdivided into risk groups

initial_infected

The corresponding number of initially infected

vaccine_calendar

A vaccine calendar valid for that year

contact_matrix

Contact rates between different age groups

susceptibility

Vector with susceptibilities of each age group

transmissibility

The transmissibility of the strain

infection_delays

Vector with the time of latent infection and time infectious

interval

Optional: interval (in days) between data points (used if dates are not provided)

dates

Optional: dates to return values for.

Value

A data frame with number of new cases after each interval during the year

See Also

infectionODEs.cpp Used internally by this function.


MJomaba/flu-evidence-synthesis documentation built on April 26, 2022, 11:12 p.m.