gnlsControl {nlme} | R Documentation |
Control Values for gnls Fit
Description
The values supplied in the function call replace the defaults and a
list with all possible arguments is returned. The returned list is
used as the control
argument to the gnls
function.
Usage
gnlsControl(maxIter = 50, nlsMaxIter = 7, msMaxIter = 50, minScale = 0.001,
tolerance = 1e-6, nlsTol = 0.001, msTol = 1e-7,
returnObject = FALSE, msVerbose = FALSE,
apVar = TRUE, .relStep =,
opt = c("nlminb", "optim"), optimMethod = "BFGS",
minAbsParApVar = 0.05, sigma = NULL)
Arguments
maxIter |
maximum number of iterations for the |
nlsMaxIter |
maximum number of iterations
for the |
msMaxIter |
maximum number of iterations
for the |
minScale |
minimum factor by which to shrink the default step size
in an attempt to decrease the sum of squares in the |
tolerance |
tolerance for the convergence criterion in the
|
nlsTol |
tolerance for the convergence criterion in |
msTol |
tolerance for the convergence criterion of the first outer
iteration when |
returnObject |
a logical value indicating whether the fitted
object should be returned with a |
msVerbose |
a logical value passed as the |
apVar |
a logical value indicating whether the approximate
covariance matrix of the variance-covariance parameters should be
calculated. Default is |
.relStep |
relative step for numerical derivatives
calculations. Default is |
opt |
the optimizer to be used, either |
optimMethod |
character - the optimization method to be used with
the |
minAbsParApVar |
numeric value - minimum absolute parameter value
in the approximate variance calculation. The default is |
sigma |
optionally a positive number to fix the residual error at.
If |
Value
a list with components for each of the possible arguments.
Author(s)
José Pinheiro and Douglas Bates bates@stat.wisc.edu; the
sigma
option: Siem Heisterkamp and Bert van Willigen.
See Also
Examples
# decrease the maximum number of iterations and request tracing
gnlsControl(msMaxIter = 20, msVerbose = TRUE)