R: Calculate the sensitivity equations for a model

rxSymPySensitivity {RxODE} | R Documentation

## 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 sensitivities 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.

### Author(s)

Matthew L. Fidler

[Package RxODE version 0.9.1-8 Index]