This is a collection of utility functions called by dde.model when
a model defined by delay differential equations is evaluated. None of these
functions is typically called directly by users.
dde.syst(t = NULL,
y = NULL,
ic = NULL,
parms = NULL,
derparms = NULL,
delags = NULL,
codedde = NULL,
dosing = NULL,
has.dosing = NULL,
dose.states = NULL,
xdata = NULL,
covdata = NULL,
scale = NULL,
check = FALSE)
dde.lags(parms = NULL,
derparms = NULL,
codelags = NULL,
check = FALSE)
A scalar or a vector of numerical time values.
A vector of system state values.
A vector of initial conditions, typically returned by
init.cond.
A vector of primary parameters.
A list of derived parameters, specified in the $DERIVED block of code.
A vector of delay parameters, typically returned by
dde.lags.
The content of the R code specified within the $DDE block in the model file.
A data.frame of dosing information created by make.dosing
from instantaneous and zero-order inputs into the system and containing the
following columns:
Dosing event times.
State where the input should be assigned to.
Amount that should be assigned to system state at the
corresponding TIME.
Rate of input that should be assigned to system CMT at
the corresponding TIME. See
vignette('scaRabee',package='scaRabee') for more details about
the interpolation of the input rate at time not specified in
dosing.
An indicator of the type of input. TYPE is set to 1 if
the record in dosing correspond an original bolus input; it is
set to 0 otherwise.
A logical variable, indicating whether any input has to be assigned to a system state.
A vector of integers, indicating in which system state one or more doses have to be assigned to.
A vector of times at which the system is being evaluated.
A matrix of covariate data extracted from the dataset.
A vector of system scale, typically returned by
input.scaling
An indicator whether checks should be performed to validate function inputs
The content of the R code specified within the $LAGS block in the model file.
Sebastien Bihorel (sb.pmlab@gmail.com)
dde.syst is the function which actually evaluates the system of delay
differential equations specified in the $DDE block.
dde.lags is the function which evaluates the code specified in the $LAG
block and defines the delays at which the system needs to be computed.
dde.model, make.dosing