This expands the model to calculate sensitivities. This requires rSymPy.
rxSymPySensitivity(
model,
calcSens,
calcJac = FALSE,
keepState = NULL,
collapseModel = FALSE
)
RxODE family of objects
Either a logical or list of sensitivity parameters
to calculate. When TRUE
, calculate the sensitivities of
all the known parameters. When FALSE
raise an error.
A boolean that determines if the Jacobian should be calculated.
State parameters to keep the sensitivities for.
A boolean to collapse the model that each expression only depends on the unspecified parameters (instead on LHS quantities).
Model syntax that includes the sensitivity parameters.