Thank you! I didn’t know about that keyword. Doing covariates_direction = :left fixed the issue. Is that correct? It seems like the opposite of what’s intended.
The behavior is intended but maybe not what you expected. There are several ways to interpolate between two observations. Our default is the same as NONMEM’s and it’s sometimes called next observation carried backwards (NOCB). I believe the Phoenix NLME uses the interpolation scheme that you expected which is sometimes called last observation carried forward (LOCF) and that Nlmixr’s default is linear interpolation.