Generate Augmented pred/err RxODE model
.rxGenPred(obj, predfn, errfn, init, addProp = c("combined2", "combined1"))
RxODE object
Prediction function
Error function
Initialization parameters for scaling.
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
A list of (1) RxODE model variables augmented with pred/error information and (2) extra error variables created.