ODE | R Documentation |
A R6 class for numerically solving the ODE models
A R6 class for numerically solving the ODE models
ODE is a subclass of 'Simulator'. This class is only available if the 'deSolve' package is installed.
REpiSim::Simulator
-> ODE
model
a read-only field giving the R function for the ODE equations to be passed to deSolve::ode as the 'func' argument.
new()
constructor
ODE$new(model)
model
the model to simulate. It must be an object of a subclass of 'Model'.
clone()
The objects of this class are cloneable with this method.
ODE$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.