View source: R/integrateModel.R
integrateModel | R Documentation |
Calculates and returns the raw output from the deSolve ODE integration
integrateModel(initialState, parameters, derivativeFunction, seedFunction, method = "lsoda")
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 |
A matrix of deSolve ode output for the model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.