glsControl {nlme} | R Documentation |
Control Values for gls 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 gls
function.
Usage
glsControl(maxIter, msMaxIter, tolerance, msTol, msVerbose,
singular.ok, returnObject = FALSE, apVar, .relStep,
opt = c("nlminb", "optim"), optimMethod,
minAbsParApVar, natural, sigma = NULL)
Arguments
maxIter |
maximum number of iterations for the |
msMaxIter |
maximum number of iterations
for the |
tolerance |
tolerance for the convergence criterion in the
|
msTol |
tolerance for the convergence criterion of the first outer
iteration when |
msVerbose |
a logical value passed as the |
singular.ok |
a logical value indicating whether non-estimable
coefficients (resulting from linear dependencies among the columns of
the regression matrix) should be allowed. Default is |
returnObject |
a logical value indicating whether the fitted
object should be returned when the maximum number of iterations is
reached without convergence of the algorithm. Default is
|
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 |
natural |
logical. Should the natural parameterization be used
for the approximate variance calculations? 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
glsControl(msMaxIter = 20, msVerbose = TRUE)