infectionODEs.cpp: Run the SEIR model for the given parameters

View source: R/RcppExports.R

infectionODEs.cppR Documentation

Run the SEIR model for the given parameters

Description

Run the SEIR model for the given parameters

Usage

infectionODEs.cpp(population, initial_infected, vaccine_calendar,
  contact_matrix, susceptibility, transmissibility, infection_delays,
  dates)

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

dates

Dates to return values for.

Value

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


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