This returns the model's compartments or states.
Arguments
- obj
rxode2 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.