integrateModel: Integrate model

View source: R/integrateModel.R

integrateModelR Documentation

Integrate model

Description

Calculates and returns the raw output from the deSolve ODE integration

Usage

integrateModel(initialState, parameters, derivativeFunction, seedFunction,
  method = "lsoda")

Arguments

initialState

The initial state of the model's ODE system prior to seeding

parameters

The model's parameters

derivativeFunction

A function the computes the derivatives for the model's ODE system

seedFunction

A function that modifies the state to seed infections

method

Which integration method to use. Defaults to lsoda

Value

A matrix of deSolve ode output for the model


HHS/ASPR-flumodels documentation built on Dec. 6, 2022, 12:20 p.m.