R: State variables

rxState {RxODE} | R Documentation

## State variables

### Description

This returns the model's compartments or states.

### Usage

    rxState(obj = NULL, state = NULL)

### Arguments

`obj` | RxODE family of objects
`state` | is a string indicating the state or compartment that you would like to lookup.

### Value

If state is missing, return a character vector of all the states.

If state is a string, return the compartment number of the named state.

### Author(s)

Matthew L.Fidler

### See Also

`RxODE()`

[Package RxODE version 1.1.4 Index]