explicit.model {scaRabee} | R Documentation |
Explicit Equations
Description
explicit.model
is the system evaluation function called when neither
$ODE or $DDE blocks are detected in the model file, indicating that the model
is defined by explicit equations. explicit.model
is typically not
called directly by users.
Usage
explicit.model(parms = NULL,
derparms = NULL,
code = NULL,
bolus = NULL,
infusion = NULL,
xdata = NULL,
covdata = NULL,
issim = 0,
check = FALSE)
Arguments
parms |
A vector of primary parameters. |
derparms |
A list of derived parameters, specified in the $DERIVED block
of code. (NULL for |
code |
A list of R code extracted from the model file. Depending on content of the model file, the levels of this list could be: template, derived, lags, ode, dde, output, variance, and/or secondary. |
bolus |
A data.frame providing the instantaneous inputs entering the system of delay differential equations for the treatment and individual being evaluated. |
infusion |
A data.frame providing the zero-order inputs entering the system of delay differential equations for the treatment and individual being evaluated. |
xdata |
A vector of times at which the system is being evaluated. |
covdata |
A data.frame of covariate data for the treatment and individual being evaluated. |
issim |
An indicator for simulation or estimation runs. |
check |
An indicator whether checks should be performed to validate function inputs. |
Details
explicit.model
evaluates the model for each treatment of each
individual contained in the dataset, based upon the code specified in the
$OUTPUT block in the model file.
Value
Returns a matrix of system predictions.
Author(s)
Sebastien Bihorel (sb.pmlab@gmail.com)