Description Usage Arguments Value Author(s)
View source: R/pigsustainode.R
Fit pigsustainr ODE (ordinary differential equation) models, using either the 'deSolve' R package or C++.
1 | pigsustainode(model_name, initial_values, parameters, times, backend = "cpp")
|
model_name |
The name of the model to simulate |
initial_values |
Initial values of the state variables |
parameters |
Vector of parameter values for the model |
times |
The simulation time steps. Should increment by the desired dt interval |
backend |
Either "deSolve" or "cpp" (see details); defaults to "cpp" |
An object of class of PigSustainSim
Conor Goold conor.goold@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.