R: Optimize RxODE for computer evaluation

rxOptExpr {RxODE} | R Documentation

## Optimize RxODE for computer evaluation

### Description

This optimizes RxODE code for computer evaluation by only calculating redundant expressions once.

### Usage

    rxOptExpr(x)

### Arguments

`x` | RxODE model that can be access by rxNorm

### Value

Optimized RxODE model text. The order and type lhs and state variables is maintained while the evaluation is sped up. While parameters names are maintained, their order may be modified.

### Author(s)

Matthew L. Fidler

[Package RxODE version 0.9.1-9 Index]