State-Dependent Dosing Properties in rxode2
Introduction A long-standing limitation in rxode2 was that the dosing-modifier expressions — rate(), dur(), f(), and alag() — could only reference things that did not depend on state. If you wanted infusion duration, bioavailability, or lag time to depend on the current concentration or any other ODE state variable, you were out of luck. rxode2 5.0.2 lifts that restriction. All four dosing modifiers, as well as model-event times (mtime()), can now reference state variables.