This is for the so-called inner problem.
rxSymPySetupPred(obj, predfn, pkpars = NULL, errfn = NULL, init = NULL,
grad = FALSE, sum.prod = FALSE, pred.minus.dv = TRUE,
theta.derivs = FALSE, only.numeric = FALSE, grad.internal = FALSE,
theta.internal = FALSE, run.internal = FALSE)
RxODE object
Prediction function
Pk Pars function
Error function
Initialization parameters for scaling.
Boolaen indicated if the the equations for the gradient be calculated
A boolean determining if RxODE should use more numerically stable sums/products.
Boolean stating if the FOCEi objective function is based on PRED-DV (like NONMEM). Default TRUE.
Boolean indicating if theta derivatives are setup
Instead of setting up the sensitivities for the inner problem, modify the RxODE to use numeric differentiation for the numeric inner problem only.
Internal gradient flag. This function is recursively called, and this shouldn't be set by the user.
Internal theta flag. This function is recursively called and shouldn't be called by the user.
Boolean to see if the function should be run internally.
RxODE object expanded with predfn and with calculated sensitivities.