Hi,

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),
data=f,control=nls.control(maxiter=500))

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,
Cheers,
Karine.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to