nlmeODE {nlmeODE} | R Documentation |
This package combines the odesolve
and nlme
packages for mixed-effects modelling.
nlmeODE(model,data,LogParms,JAC,SEQ,rtol,atol,tcrit,hmin,hmax)
model |
A list including the following elements:
|
data |
groupedData object with a formula specifying which columns are the dependent and independent variables,
and grouping factor. Optional columns in the groupedData object are the dose Dose , dosing compartment Cmt ,
rate of infusion Rate , covariate measurements, etc. |
LogParms |
If TRUE, the parameters are reparameterized in terms of the logarithm of the parameters. Default is TRUE. |
JAC |
If TRUE, the Jacobian of the system of ODE's is computed and passed to the ODE solver. In some circumstances, supplying the Jacobian can speed up the computations if the system is stiff. Default is FALSE. |
SEQ |
A logical value, that when TRUE, adds a gradient attribute to the returned value calculated by simultaneous solution of the sensitivity equations associated with the system of ODE's. Default is FALSE. |
rtol |
Relative error tolerance for lsoda. Default is 1E-4. |
atol |
Absolute error tolerance for lsoda. Default is 1E-4. |
tcrit |
Time beyond which the integration should not proceed. Default is NULL. |
hmin |
Minimum value of the integration stepsize. Default is 0. |
hmax |
Maximum value of the integration stepsize. Default is Inf. |
A function compatible with nlme
estimation for systems of ordinary differential equations (ODE's).
For examples of commonly used PK/PD models see PKPDmodels
.
Christoffer W. Tornoe <ctornoe@gmail.com>