[R] nls
Gregory BENMENZER
gregory.benmenzer at gazdefrance.com
Mon Feb 10 10:18:05 CET 2003
Hello,
I want to estimate parameters of the model y=a/x with x=1:10 and y=3/x.
I tested the NLS function.
Could you tell me why it doesn't converge ?
Regards,
Grégory Benmenzer
> x=1:10
> y=3/x
> nls(y~a/x, start=list(a=2), control=nls.control(maxiter=100))
Error in nls(y ~ a/x, start = list(a = 2), control = nls.control(maxiter = 100)) :
number of iterations exceeded maximum of 100
>
More information about the R-help
mailing list