Non linear Solving methods
eqsolve(xinit, f, jac,
method=c("Newton", "Levenberg-Marquardt", "Broyden"),
global=c("line search", "none"), control=list())A list with components:
parThe best set of parameters found.
countsA two-element integer vector giving the number of calls to phi and jacphi respectively.
iterThe iteration number.
code0 if convergence, 1 if maxit is reached, 10
if tol is not reached and 11 for both.
initial point.
the function for which we search roots.
the Jacobian of the function f.
a character string specifying the method to use: either
"Newton", "Levenberg-Marquardt", or "Broyden".
a character string for the globalization method to be used:
either "line search" or "none".
a list for the control parameters. See details.
Christophe Dutang
The control argument is a list that can supply any of the following components:
tolThe absolute convergence tolerance. Default to 1e-6.
maxitThe maximum number of iterations. Default to 100.
echoA logical or an integer (0, 1, 2, 3, 4) to print traces.
Default to FALSE, i.e. 0.
echofileA character string to store the traces in that file. Default to NULL.
echographA character string to plot iter-by-iter information.
Either "NULL" (default), or "line" for line search plot
or "trust" for trust region plots.
sigmaReduction factor for the geometric linesearch. Default to 0.5.
btolThe backtracking tolerance. Default to 0.01.
deltaThe exponent parameter for the LM parameter, should in \([1,2]\). Default to 2.
initlnsrchThe initial integer for starting the line search. Default to 0.
minstepThe minimal step. Default to 0.001.
See nleqslv from the package of the same name.