Learn R Programming

dMod (version 0.3.1)

Xf: Model prediction function for ODE models without sensitivities.

Description

Interface to get an ODE into a model function x(times, pars, forcings, events) returning ODE output. It is a reduced version of Xs, missing the sensitivities.

Usage

Xf(odemodel, forcings = NULL, events = NULL, condition = NULL, optionsOde = list(method = "lsoda"))

Arguments

odemodel
Object of class odemodel.
forcings,
see Xs
events,
see Xs
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.

Details

Can be used to integrate additional quantities, e.g. fluxes, by adding them to f. All quantities that are not initialised by pars in x(..., forcings, events) are initialized with 0. For more details and the return value see Xs.