Skip to content
Prev 273059 / 398506 Next

Problem with logarithmic nonlinear model using nls() from the `stats' package

Example:
[1] 4.503841 5.623073 6.336423 6.861151 7.276430 7.620131 7.913338 8.169004
 [9] 8.395662 8.599227
37.22954 :  1 2 3 
Error in numericDeriv(form[[3L]], names(ind), env) : 
  Missing value or an infinity produced when evaluating the model
In addition: Warning message:
In log(1 + c * x) : NaNs produced

What's wrong here? Am I handling this problem in the wrong way?
Any suggestions are welcome, thanks :)