Specifying Control Values for lme Fit
The values supplied in the lmeControl()
call replace the
defaults, and a list
with all settings (i.e., values for
all possible arguments) is returned. The returned list is
used as the control
argument to the lme
function.
lmeControl(maxIter = 50, msMaxIter = 50, tolerance = 1e-6, niterEM = 25, msMaxEval = 200, msTol = 1e-7, msVerbose = FALSE, returnObject = FALSE, gradHess = TRUE, apVar = TRUE, .relStep = .Machine$double.eps^(1/3), minAbsParApVar = 0.05, opt = c("nlminb", "optim"), optimMethod = "BFGS", natural = TRUE, sigma = NULL, allow.n.lt.q = FALSE, ...)
maxIter |
maximum number of iterations for the |
msMaxIter |
maximum number of iterations
for the optimization step inside 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 |
msMaxEval |
maximum number of evaluations of the objective
function permitted for nlminb. Default is |
msTol |
tolerance for the convergence criterion on the first
iteration when |
msVerbose |
a logical value passed as the |
returnObject |
a logical value indicating whether the fitted
object should be returned with a |
gradHess |
a logical value indicating whether numerical gradient
vectors and Hessian matrices of the log-likelihood function should
be used in the internal optimization. This option is only available
when the correlation structure ( |
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 |
a logical value indicating whether the |
sigma |
optionally a positive number to fix the residual error at.
If |
allow.n.lt.q |
|
a list with components for each of the possible arguments.
José Pinheiro and Douglas Bates bates@stat.wisc.edu; the
sigma
option: Siem Heisterkamp and Bert van Willigen.
# decrease the maximum number iterations in the ms call and # request that information on the evolution of the ms iterations be printed str(lCtr <- lmeControl(msMaxIter = 20, msVerbose = TRUE)) ## This should always work: do.call(lmeControl, lCtr)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.