RxODE (version 0.8.0-9)

rxSymPySensitivity: Calculate the sensitivity equations for a model

Description

This expands the model to calculate sensitivities. This requires rSymPy.

Usage

rxSymPySensitivity(model, calcSens, calcJac = FALSE, keepState = NULL,
  collapseModel = FALSE)

Arguments

model

RxODE family of objects

calcSens

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.

calcJac

A boolean that determines if the Jacobian should be calculated.

keepState

State parameters to keep the sensitivites for.

collapseModel

A boolean to collapse the model that each expression only depends on the unspecified parameters (instead on LHS quantities).

Value

Model syntax that includes the sensitivity parameters.