Learn R Programming

dMod (version 0.1)

generateModel: Generate the model objects for use in Xs (models with sensitivities)

Description

Generate the model objects for use in Xs (models with sensitivities)

Usage

generateModel(f, forcings = NULL, fixed = NULL, modelname = "f", ...)

Arguments

f
Named character vector with the ODE
forcings
Character vector with the names of the forcings
fixed
Character vector with the names of parameters (initial values and dynamic) for which no sensitivities are required (will speed up the integration).
modelname
Character, the name of the C file being generated.
...
Further arguments being passed to funC.

Value

  • list with func (ODE object) and extended (ODE+Sensitivities object)