Re: [R] number of iteration s exceeded maximum of 50

2006-06-19 Thread Leaf Sun
Thanks to Douglas and all others who responded. I applied nls(y ~ a*x^b, start = list(a = a1, b = b1), control = list(maxiter = 500), trace=TRUE) to increase the number of iterations, found it successful. The suggestion Douglas raised in plotting the data and then tracing the

Re: [R] number of iteration s exceeded maximum of 50

2006-06-18 Thread Douglas Bates
On 6/16/06, Leaf Sun [EMAIL PROTECTED] wrote: Sorry, I thought it was a straightforward question inside which I was stuck . I used nls( ) to estimate a and b in this function. nls(y~ a*x^b,start=list(a=a1,b=b1) seems the start list I gave was not able to reach convergence and it gave

Re: [R] number of iteration s exceeded maximum of 50

2006-06-16 Thread Uwe Ligges
Leaf Sun wrote: Hi all, I found r-site-research not work for me these days. When I was doing nls( ) , there was an error number of iterations exceeded maximum of 50. I set number in nls.control which is supposed to control the number of iterations but it didn't work well. Could anybody

Re: [R] number of iteration s exceeded maximum of 50

2006-06-16 Thread Leaf Sun
Sorry, I thought it was a straightforward question inside which I was stuck . I used nls( ) to estimate a and b in this function. nls(y~ a*x^b,start=list(a=a1,b=b1) seems the start list I gave was not able to reach convergence and it gave notes: number of iteration s exceeded maximum of 50.

Re: [R] number of iteration s exceeded maximum of 50

2006-06-16 Thread Berton Gunter
process. - George E. P. Box -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leaf Sun Sent: Friday, June 16, 2006 9:41 AM To: Uwe Ligges Cc: r-help@stat.math.ethz.ch Subject: Re: [R] number of iteration s exceeded maximum of 50 Sorry, I

[R] number of iteration s exceeded maximum of 50

2006-06-14 Thread Leaf Sun
Hi all, I found r-site-research not work for me these days. When I was doing nls( ) , there was an error number of iterations exceeded maximum of 50. I set number in nls.control which is supposed to control the number of iterations but it didn't work well. Could anybody with this experience