comp_seir: Solves the SEIR model

View source: R/comp_seir.r

comp_seirR Documentation

Solves the SEIR model

Description

Creates both deterministic and stochastic solutions to a common epidemic model.

Usage

comp_seir(
  De = 7,
  Tg = 15,
  R0 = 1.8,
  N = 1e+06,
  I0 = 10,
  trickle = 0,
  trickleStart = 0,
  reprate = 1,
  dt = 1,
  R1 = 1,
  t1 = 999,
  R2 = 1,
  t2 = 9999,
  noTimeSteps = 360,
  noReals = 1,
  A = 0,
  deterministic = TRUE
)

Arguments

De

duration latent

Tg

generation time

R0

Basic reproductive number

N

size of the population

I0

number of initial infectious individuals

trickle

expected number of trickle infections per day

trickleStart

start time for trickle infection

reprate

reporting rate

dt

time step

R1

second value for the reproductive nuber

t1

time of change to the second R value

R2

third value for the reproductive number

t2

time of change to the third reproductive number

noTimeSteps

number of timesteps

noReals

number of realizations, NOT YET IMPLEMENTED

A

coefficient of seasonaliity

deterministic

mode of solutions

Details

Details go here XXX new edit YYYY

Value

A list of two elements. The first is the incidence of infection and the second is the timepoints to which the incidence refers.

Examples

comp_seir()
comp_seir(R0=0.999)

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