fit.control {modTempEff} | R Documentation |
Auxiliary function as user interface for fitting. Typically only used when calling 'tempeff' or 'tempeff.fit'.
fit.control(tol = 1e-06, display = FALSE, it.max = 20, GLM = FALSE, maxit.inner = 3)
tol |
positive convergence tolerance. |
display |
logical indicating if deviance should be printed for each iteration. This argument is
ignored (actually it is FALSE ) when it.max=0 or when the model is fitted without
the temperature effect. |
it.max |
integer giving the maximal number of iterations. |
GLM |
logical indicating if at each iteration a GLM (rather than a GAM) has to be fitted. |
maxit.inner |
integer giving the maximal number of inner iterations. |
Fitting of Constrained Distributed Lag Model is performed via iterative estimate of proper
Generalized Additive (or Linear when GLM=TRUE
) models. The algorithm stops when
the relative increase in deviance is smaller than tol
or when the maximum number of
iterations it.max
is attained. The maximum number of (inner) iterations to estimate the working
GLM at each (outer) iteration is controlled by maxit.inner
.
A list with the arguments as components to be used by 'tempeff' or 'tempeff.fit'.
Vito Muggeo