makeODE: Create a dynamics object for use in 'integrateODE()' and the...

View source: R/makeODE.R

makeODER Documentation

Create a dynamics object for use in integrateODE() and the ODE graphics

Description

An ODE object consists of some dynamics, initial conditions, parameter values, time domain, etc.

Usage

makeODE(...)

Arguments

...

The components of an ODE and/or a set of other ODE objects

Value

a list containing various functions and values specifying the ODE.

Examples

SIR <- makeODE(dS~ -a*S*I, dI ~ a*S*I - b*I, a=0.0026, b=.5, S=762, I=1)
soln <- integrateODE(SIR, domain(t=0:20))


ProjectMOSAIC/mosaicCalc documentation built on March 17, 2024, 8:27 p.m.