search for: nlsmaxit

Displaying 2 results from an estimated 2 matches for "nlsmaxit".

Did you mean: nlsmaxiter
2006 Aug 04
1
gnlsControl
...in nls(y ~ cbind(1, 1/(1 + exp((xmid - x)/exp(lscal)))), data = xy, : step factor 0.000488281 reduced below 'minFactor' of 0.000976563 My first thought was to decrease minFactor but gnlsControl does not contain minFactor nor nlsMinFactor (see below). It does however contain nlsMaxIter and nlsTol which I assume are the analogs of maxiter and tol in nls.control. I would be happy to hear from anyone who has an idea on what parameters in gnlsControl to change to get convergence. Cheers Dan Coleman Genentech Inc. > gnlsControl function (maxIter = 50, nlsMaxIter =...
2003 Jul 24
0
nls.control in gnls
...when calling gnls? Several work-around exists: * Write a better initial function to get more precise starting values, i.e., fewer iterations needed for nls. * Make a new function my.own.gnls where nls.control(maxiter=100) is set in the call to nls. Maybe it would even be a good idea to pass nlsMaxIter from gnlsControl on to the initial call to nls? As far as I can see from the code it is only used in maximization after the call to get the starting value. Happy R'ing Claus -- ***************************************** Claus Thorn Ekstr?m <ekstrom at dina.kvl.dk> Dept of Mathemati...