Allow the user to set some characteristics of the
nonlinear least squares algorithm.
nls.control(maxiter = 50, tol = 1e-05, minFactor = 1/1024, printEval = FALSE, warnOnly = FALSE)
A positive integer specifying the maximum number of iterations allowed.
A positive numeric value specifying the tolerance level for the relative offset convergence criterion.
A positive numeric value specifying the minimum step-size factor allowed on any step in the iteration. The increment is calculated with a Gauss-Newton algorithm and successively halved until the residual sum of squares has been decreased or until the step-size factor has been reduced below this limit.
a logical specifying whether the number of evaluations (steps in the gradient direction taken each iteration) is printed.
a logical specifying whether
return instead of signalling an error in the case of termination
Termination before convergence happens upon completion of
iterations, in the case of a singular gradient, and in the case that the
step-size factor is reduced below
list with exactly five components:
Bates, D. M. and Watts, D. G. (1988), Nonlinear Regression Analysis and Its Applications, Wiley.