This package combines the deSolve
and nlme
packages for mixedeffects modelling.
1 
model 
A list including the following elements: 
data 

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 1E4. 
atol 
Absolute error tolerance for lsoda. Default is 1E4. 
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>
Tornoe, C. W. et al. (2004a) "Nonlinear mixedeffects pharmacokinetic/pharmacodynamic modelling in NLME using differential equations", Computer Methods and Programs in Biomedicine, 76(1), 3140 and Tornoe, C. W. et al. (2004b) "Pharmacokinetic/Pharmacodynamic Modelling of GnRH Antagonist Degarelix: A Comparison of the Nonlinear MixedEffects Programs NONMEM and NLME",Journal of Pharmacokinetics and Pharmacodynamics, 31(6), 441461.
nlme
, lsoda
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.