Re: [R] nls problem with iterations

2013-01-03 Thread Bert Gunter
Would you show the exact message you get please. -- Bert On Thu, Jan 3, 2013 at 5:22 AM, Karine HEERAH < karine.hee...@locean-ipsl.upmc.fr> wrote: > 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 5

[R] nls problem with iterations

2013-01-03 Thread Karine HEERAH
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)) T