[R] Finding starting values for the parameters using nls() or nls2()

2016-10-09 Thread Pinglei Gao
~ negexp(Area, b0, b1, th),data = cl, trace = T) b0 b1 th 4.208763 144.205455 1035.324595 Error in qr.default(.swts * attr(rhs, "gradient")) : NA/NaN/Inf (arg1) can not be called when the external function is called. Error happened again. How can I fi

[R] 答复: Finding starting values for the parameters using nls() or nls2()

2016-10-10 Thread Pinglei Gao
statistic and model construction and I can name you as a coauthor for your contributions. Best, Pinglei Gao -邮件原件- 发件人: peter dalgaard [mailto:pda...@gmail.com] 发送时间: 2016年10月10日 7:41 收件人: Pinglei Gao 抄送: Andrew Robinson; R help (r-help@r-project.org); Bert Gunter 主题: Re: [R] Finding

Re: [R] Finding starting values for the parameters using nls() or nls2()

2016-10-10 Thread Pinglei Gao
Thanks very much for your kindness help. I run your script then came out lots of outputs and I also studied the solution you posted. Forgive my ignorance, I still can't find the suitable starting values. Did I misunderstand something? Best, Pinglei Gao -邮件原件- 发件人: ProfJCNash

Re: [R] Finding starting values for the parameters using nls() or nls2()

2016-10-25 Thread Pinglei Gao
Dear Dave Thanks for your kindness help. I am sorry, I am on a filed survey these days. I did not check my email for a long time. Please forgive me for the misunderstanding brought to you. Your answer works well for the model: Retention = exp (b0*exp (b1*Area^th)). Could you find the starting