Generate Augmented pred/err RxODE model

.rxGenPred(obj, predfn, errfn, init, addProp = c("combined2", "combined1"))

Arguments

obj

RxODE object

predfn

Prediction function

errfn

Error function

init

Initialization parameters for scaling.

addProp

one of "combined1" and "combined2"; These are the two forms of additive+proportional errors supported by monolix/nonmem:

combined1: transform(y)=transform(f)+(a+b*f^c)*eps

combined2: transform(y)=transform(f)+(a^2+b^2*f^(2c))*eps

Value

A list of (1) RxODE model variables augmented with pred/error information and (2) extra error variables created.

Author

Matthew L Fidler