SEIR: Generate an SEIR model for an infection based on input...

View source: R/diffEqModels.R

SEIRR Documentation

Generate an SEIR model for an infection based on input parameters

Description

Generate an SEIR model for an infection based on input parameters

Usage

SEIR(
  infection,
  duration,
  time_step,
  N,
  percent_susceptible,
  number_infectious,
  infection_data
)

Arguments

infection

The name of the infection to model c("influenza", "COVID").

duration

The length of time to model, in days (optional; 120).

time_step

The time between each model step, in days (optional; 1).

N

The total population size (optional; 10^6).

percent_susceptible

The initial susceptible population, as a percentage of N (optional; 100).

number_infectious

The initial number of infectious individuals (optional; 1).

infection_data

A list of key-value pairs with basic infection data. See simple_infections.


wvuvectors/simpleEpiModel documentation built on April 15, 2022, 12:09 a.m.