solveSEIRModel: Solve simple SEIR model

Description Usage Arguments Value

View source: R/model.R

Description

Solves the SEIR model using the specified ode solver

Usage

1
solveSEIRModel(ts, y0s, pars, solver = "rlsoda", compatible = FALSE)

Arguments

ts

vector of times to solve the ODE model over

y0s

the initial population sizes for the ODE model

pars

a named vector with all of the necessary parameters to solve the ODE model. See setupParsODE

solver

which ODE solver to use, either "rlsoda" or "lsoda"

compatible

if TRUE, makes the rlsoda output the same as lsoda output

Value

a data frame of the solved ODE model


jameshay218/zikaProj documentation built on Jan. 9, 2020, 7:26 p.m.