
Solve a model with an in-engine discrete-adjoint (s) method
Source: R/adjointDiscrete.R
rxSolveAdjointRk4.RdApplies the (cached) adjoint expansion, solves with the requested adjoint
method, and drops the internal rx__adj* lhs, returning the full-trajectory
rx__sens_<state>_BY_<param>__ columns. The stiff analytic Jacobian is
emitted into the expansion automatically, inferred from method.
Arguments
- object
model definition accepted by
rxode2().- events
an rxode2 event table / data set.
- params
optional named parameter vector or data frame (per subject).
- calcSens
character vector of parameters to differentiate w.r.t.
- method
adjoint solve method (default
"rk4s"). May be a composite ("dop853s+ros4s").- ...
passed to
rxSolve().