This returns the model's compartments or states.

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.

See also

Author

Matthew L.Fidler