[R] nls problem

From: Weijie Cai <wcai11_at_hotmail.com>
Date: Wed 21 Dec 2005 - 08:51:13 EST


Hi list,

I tried to use nls to do some nonlinear least square fitting on my data with 340 observations and 10 variables, but as I called nls() function, I got this error message:
Error in qr.qty(QR, resid) : 'qr' and 'y' must have the same number of rows Then I traced back a little bit into nls() function, the error seemed to happen when calling nlsiter() internal function, but I did not find any clue calling qr.qty() function in nls.c. I searched around mailing list, there were some posts about this message but none of them were clearly solved. I wonder if anybody solved this problem? (Bate's example worked, though)

Thanks



On the road to retirement? Check out MSN Life Events for advice on how to

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Dec 21 09:19:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:40 EST