View source: R/seinfitR_control.R
seinfitR_control | R Documentation |
Custom Control Function for the SeinfitR Model Fitting
seinfitR_control(
ftol = sqrt(.Machine$double.eps),
ptol = sqrt(.Machine$double.eps),
gtol = 0,
diag = list(),
epsfcn = 0,
factor = 100,
maxfev = integer(),
maxiter = 50,
nprint = 0,
trace = FALSE
)
ftol |
Termination condition for relative reduction in the sum of squares. |
ptol |
Termination based on relative error between two consecutive iterations. |
gtol |
Controls the orthogonality between the function vector and the Jacobian. |
diag |
Multiplicative scale factors for the parameters. |
epsfcn |
Step size for forward-difference approximation of the Jacobian. |
factor |
Initial step bound factor. |
maxfev |
Maximum number of function evaluations. |
maxiter |
Maximum number of iterations. |
nprint |
Controls printing of iteration details. |
trace |
A logical value indicating if a trace of the iteration progress should be printed. |
This function returns a list of control parameters for the Levenberg-Marquardt algorithm
used by the nlsLM
function from the minpack.lm
package. These parameters
are specifically designed to control the fitting process in the seinfitR
function.
A list of control parameters to be used in the nlsLM
function during the
fitting of the Seinhorst model using seinfitR
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.