I found an issue that might be related to #101 and/or the issue reported here. When having a model that fits oral and IV I am having problems in getting initial estimates. There is an easy work-around for this by getting initials for a model without the if statement and add the values afterwards but wanted to let you know what is going on. Find below the data and model that I have tested (this is the same as reported in the nlmixr2est issue):
I found an issue that might be related to #101 and/or the issue reported here. When having a model that fits oral and IV I am having problems in getting initial estimates. There is an easy work-around for this by getting initials for a model without the if statement and add the values afterwards but wanted to let you know what is going on. Find below the data and model that I have tested (this is the same as reported in the
nlmixr2est
issue):As you can see the last step fails. When removing the if statements all work as expected