makeODE {mosaicCalc} | R 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. By default, the time step is set to |
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))
[Package mosaicCalc version 0.6.4 Index]