Description Usage Arguments Value
Interface to combine an ODE and its sensitivity equations
into one model function x(times, pars, deriv = TRUE)
returning ODE output and sensitivities.
1 2 3 4 5 6 7 8 9 |
odemodel |
object of class odemodel |
forcings |
data.frame with columns name (factor), time (numeric) and value (numeric). The ODE forcings. |
events |
data.frame of events with columns "var" (character, the name of the state to be
affected), "time" (numeric, time point), "value" (numeric, value), "method" (character, either
"replace", "add" or "multiply"). See events.
ATTENTION: Sensitivities for event states will only be correctly computed if defined within
|
names |
character vector with the states to be returned. If NULL, all states are returned. |
condition |
either NULL (generic prediction for any condition) or a character, denoting the condition for which the function makes a prediction. |
optionsOde |
list with arguments to be passed to odeC() for the ODE integration. |
optionsSens |
list with arguments to be passed to odeC() for integration of the extended system |
Object of class prdfn. If the function is called with parameters that result from a parameter transformation (see P), the Jacobian of the parameter transformation and the sensitivities of the ODE are multiplied according to the chain rule for differentiation. The result is saved in the attributed "deriv", i.e. in this case the attibutes "deriv" and "sensitivities" do not coincide.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.