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,
optExpression = TRUE,
run.internal = RxODE.sympy.run.internal,
interaction = TRUE
)
RxODE object
Prediction function
Pk Pars function
Error function
Initialization parameters for scaling.
Boolean 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.
Optimize the model text for computer evaluation.
Boolean to see if the function should be run internally.
Boolean to determine if dR^2/deta
is
calculated for FOCEi (not needed for FOCE)
RxODE object expanded with predfn and with calculated sensitivities.