nlmeControl
Control Values for nlme 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 nlme
function.
Usage
nlmeControl(maxIter, pnlsMaxIter, msMaxIter, minScale, tolerance, niterEM, pnlsTol, msTol, returnObject, msVerbose, msWarnNoConv, gradHess, apVar, .relStep, minAbsParApVar = 0.05, opt = c("nlminb", "nlm"), natural = TRUE, sigma = NULL, ...)
Arguments
maxIter | maximum number of iterations for the |
pnlsMaxIter | maximum number of iterations for the |
msMaxIter | maximum number of iterations for |
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 |
niterEM | number of iterations for the EM algorithm used to refine the initial estimates of the random effects variance-covariance coefficients. Default is 25. |
pnlsTol | tolerance for the convergence criterion in |
msTol | tolerance for the convergence criterion in |
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 |
msVerbose | a logical value passed as the |
msWarnNoConv | logical indicating if a |
gradHess | a logical value indicating whether numerical gradient vectors and Hessian matrices of the log-likelihood function should be used in 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 |
minAbsParApVar | numeric value - minimum absolute parameter value in the approximate variance calculation. The default is |
opt | the optimizer to be used, either |
natural | a logical value indicating whether the |
sigma | optionally a positive number to fix the residual error at. If |
... | Further, named control arguments to be passed to |
Value
a list with components for each of the possible arguments.
Author(s)
José Pinheiro and Douglas Bates [email protected]; the sigma
option: Siem Heisterkamp and Bert van Willigen.
See Also
nlme
, nlm
, optim
, nlmeStruct
Examples
# decrease the maximum number iterations in the ms call and # request that information on the evolution of the ms iterations be printed nlmeControl(msMaxIter = 20, msVerbose = TRUE)
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.