search for: a_start

Displaying 1 result from an estimated 1 matches for "a_start".

Did you mean: va_start
2017 Jul 25
0
Using nls.lm to fit a non-continuous dates range
...in nls(...) par <- nls.out$par nls.final <- nls(Y~a+b*log(tc-days),data=df, start=c(a=par$a, b=par$b, tc=par$tc)) summary(nls.final) # display statistics of the fit # append fitted values to df df$pred <- predict(nls.final) Also attempting to fit a selfstart model a_start<-8 b_start<-2*log(2)/a_start m<-nls(df$Y~a*exp(-b*df$days),start=list(a=a_start,b=b_start)) Error in nls(df$Y ~ a * exp(-b * df$days), start = list(a = a_start, b = b_start)) : parameters without starting value in 'data': Y, days Could you please help Thank you Ahmed Attia, Ph...