control argument to the gls function.glsControl(maxIter, msMaxIter, tolerance, msTol, msScale, msVerbose,
singular.ok, returnObject, apVar, .relStep,
nlmStepMax, opt=c("nlminb", "optim"), optimMethod,
minAbsParApVar, natural)gls
optimization algorithm. Default is 50.gls
optimization. Default is 50.gls algorithm. Default is 1e-6.ms,
passed as the rel.tolerance argument to the function (see
documentation on ms). Default is 1e-7.scale argument to
the ms function (see documentation on that function). Default
is lmeScale.trace argument to
ms (see documentation on that function). Default is
FALSE.FALSE.FALSE.TRUE..Machine$double.eps^(1/3).nlm for details. Default is 100.0optim optimizer. The default is
"BFGS". An alternative is "L-BFGS-B".0.05.TRUE.gls, lmeScale# decrease the maximum number iterations in the optimization call and
# request that information on the evolution of the ms iterations be printed
glsControl(msMaxIter = 20, msVerbose = TRUE)Run the code above in your browser using DataLab