[R] (no subject)

Karine HEERAH karine.heerah at locean-ipsl.upmc.fr
Fri Jan 4 15:52:24 CET 2013


I am using the nls function and it stops because the number of iterations
exceeded 50, but i used the nls.control argument to allow for 500
iterations. Do you have any idea why it's not working?

fm1 <- nls(npe ~ SSgompertz(npo, Asym, b2, b3),

Error in nls(y ~ exp(-b2 * b3^x), data = xy, algorithm = "plinear", start =
c(b2 = pars[["b1"]],  :
   number of iterations exceeded maximum of 50

Thanks for your help,

More information about the R-help mailing list