I know this has already been discussed in the past, but the question has come out again: why don't we return a negative De with interpolation?
Besides mathematical/physical reasons why a negative De does not make sense, there is an application for which having it may be useful. If we run dose samples, we'd like to see that the De values produces are around zero. This could be done graphically or more formally via a statistical test. However, if all negative De values are set to NA, this is no longer possible.
For this purpose, we could return an additional De.raw field from fit_DoseResponseCurve() to store the raw fitted value. This will be ignored by all other functions, but it is available for the interested users.