Learn R Programming

PBSddesolve (version 1.12.2)

pastvalue: Retrieve Past Values (lags) During Gradient Calculation

Description

These routines provides access to variable history at lagged times. The lagged time \(t\) must not be less than \(t_0\), nor should it be greater than the current time of gradient calculation. The routine cannot be directly called by a user, and will only work during the integration process as triggered by the dde routine.

Usage

pastvalue(t)
pastgradient(t)

Arguments

t

Access history at time t.

Value

Vector of variable history at time t.

See Also

dde