Message-ID: <50E6ECA8.8070908@locean-ipsl.upmc.fr>
Date: 2013-01-04T14:52:24Z
From: Karine HEERAH
Subject: (no subject)
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.