Re: [R] nls function error

2013-10-27 Thread Rolf Turner
On 10/28/13 00:10, Hansol Yu wrote: data(Boston, package='MASS') y <- Boston$nox x <- Boston$dis nls(y~ A + B * exp(C * x), start=list(A=1, B=1, C=1)) Error in nls(y ~ A + B * exp(C * x), start = list(A = 1, B = 1, C = 1), : step factor 0.000488281 reduced below 'minFactor' of 0.000976562 I

[R] nls function error

2013-10-27 Thread Hansol Yu
data(Boston, package='MASS') y <- Boston$nox x <- Boston$dis nls(y~ A + B * exp(C * x), start=list(A=1, B=1, C=1)) Error in nls(y ~ A + B * exp(C * x), start = list(A = 1, B = 1, C = 1), : step factor 0.000488281 reduced below 'minFactor' of 0.000976562 I don't know how to fix this error. I th