Skip to contents

Set the preferred factoring by state

Usage

rxIndLinState(preferred = NULL)

Arguments

preferred

A list of each state's preferred factorization

Value

Nothing

Details

Like rxIndLinStrategy(), this no longer affects the conversion: a multi-state product cannot yield a state-free rate constant whichever state is factored out, so it becomes an indLin() forcing instead. The setting is kept so existing code keeps working.

Author

Matthew Fidler

Examples

.old <- utils::getFromNamespace(".rxIndLinState", "rxode2")
# factor terms of the central equation by central, then depot
rxIndLinState(list(central = c("central", "depot")))
rxIndLinState(.old) # restore