metrumresearchgroup / mrgsolve

Simulate from ODE-based population PK/PD and QSP models in R
https://mrgsolve.org
GNU General Public License v2.0
130 stars 36 forks source link

Think about making recsort default to 3 #712

Open kylebaron opened 4 years ago

kylebaron commented 4 years ago

Summary

As a user, when I use an event object with steady state dosing and there are both doses and observations at time 0, I would like to see the steady state system on the first record of the output.

Tests

kylebaron commented 4 years ago

See #711

The current recsort default is 1 so that the observation comes before the steady state dose at time 0. This isn't the best for time = 0, but it is the best for subsequent doses which are explicit (the observation records would appear as trough concentrations).