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
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
: 83
>> Date: Tue, 10 Apr 2012 13:03:58 -0700 (PDT)
>> From: nerak13
>> To: r-help@r-project.org
>> Subject: [R] nls function
>> Message-ID: <1334088238773-4546791.p...@n4.nabble.com>
>> Content-Type: text/plain; charset=us-ascii
>>
>> Hi,
>>
ion doesn't seem to be defined. I left it out to get an
answer.
John Nash
On 04/11/2012 06:00 AM, r-help-requ...@r-project.org wrote:
> Message: 83
> Date: Tue, 10 Apr 2012 13:03:58 -0700 (PDT)
> From: nerak13
> To: r-help@r-project.org
> Subject: [R] nls function
>
On Apr 10, 2012, at 22:03 , nerak13 wrote:
> Hi,
>
> I've got the following data:
>
> x<-c(1,3,5,7)
> y<-c(37.98,11.68,3.65,3.93)
> penetrationks28<-dataframe(x=x,y=y)
>
> now I need to fit a non linear function so I did:
>
> fit <- nls(y ~ I(a+b*exp(1)^(-c * x)), data = penetrationks28, star
On Apr 10, 2012, at 4:03 PM, nerak13 wrote:
Hi,
I've got the following data:
x<-c(1,3,5,7)
y<-c(37.98,11.68,3.65,3.93)
penetrationks28<-dataframe(x=x,y=y)
now I need to fit a non linear function so I did:
fit <- nls(y ~ I(a+b*exp(1)^(-c * x)), data = penetrationks28, start =
list(a=0,b = 1,
Hi,
I've got the following data:
x<-c(1,3,5,7)
y<-c(37.98,11.68,3.65,3.93)
penetrationks28<-dataframe(x=x,y=y)
now I need to fit a non linear function so I did:
fit <- nls(y ~ I(a+b*exp(1)^(-c * x)), data = penetrationks28, start =
list(a=0,b = 1,c=1), trace = T)
The error message I get is:
Er
Hi everybody,
would like to ask if there is any possibility to get SOME BEST result for
nls fitting if the function itself doesn't produce it.
I already increased number of iterations, reduced minfactor and still it
doesn't give me the solution.
Thanks a lot.
[[alternative HTML version d
8 matches
Mail list logo