Skip to content
Prev 140623 / 398506 Next

Singular Gradient in nls

A QR decomposition is done on the weighted gradient matrix; if the
estimate of the rank that results is less than the number of columns in
the gradient (the number of nonlinear parameters), or less than the number
of rows (the number of observations), nls stops.

You can see the calls in the source code of nlsModel
(https://svn.r-project.org/R/trunk/src/library/stats/R/nls.R).
On Fri, 28 Mar 2008, glenn andrews wrote: