Xf: Model prediction function for ODE models without...

View source: R/prediction.R

XfR Documentation

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"),
  fcontrol = NULL
)

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.

fcontrol

list with additional fine-tuning arguments for the forcing interpolation. See approxfun for possible arguments.

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.


dkaschek/dMod documentation built on April 23, 2024, 5:18 p.m.