runSIR: Runs an SIR model

Description Usage Arguments Value Author(s)

Description

Runs an SIR model and returns the trajectory and initial state.

Usage

1
runSIR(parameters, init, times, age.labels = NULL, thickening = 1)

Arguments

parameters

SIR parmaeters

init

initial state

times

times at which to produce the trajectory

age.labels

labels of age groups

thickening

whether to thicken the data (use finer integration steps)

compiled

whether to use the compiled version of the SIR model

jacobian

whether to use the Jacobian

Value

The initial state and trajectory

Author(s)

Sebastian Funk


sbfnk/dynmod documentation built on May 29, 2019, 3:21 p.m.