Skip to content
Prev 148345 / 398500 Next

bug in nls?

Thank you both.

Katharine approach seemed to me easier to implement so I used it 
successfully. However I still wonder why in linear model using lm I can 
use 

for (i in ....) lm( data[,i]~data[,1])

but in nls the same construction fails. I understand that it is sometimes 
difficult to set correct starting values especially if the values can by 
quite different and then the cycle fails. 

However it works in lm and probably in other regression models (I tested 
it in ltsreg from MASS)

Petr
petr.pikal at precheza.cz
724008364, 581252140, 581252257


r-help-bounces at r-project.org napsal dne 26.06.2008 14:16:35:
specify
offending
nls
and
feature,
http://www.R-project.org/posting-guide.html
http://www.R-project.org/posting-guide.html