makeODE | R Documentation |
integrateODE()
and the ODE graphicsAn ODE object consists of some dynamics, initial conditions, parameter values, time domain, etc.
makeODE(...)
... |
The components of an ODE and/or a set of other ODE objects. By default, the time step is set to |
a list containing various functions and values specifying the ODE.
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.