
Last chance! 50% off unlimited learning
Sale ends in
Auxiliary function as user interface for 'gam' fitting. Typically only used when calling 'gam' or 'gam.fit'.
gam.control(epsilon=1e-07, bf.epsilon = 1e-07, maxit=30, bf.maxit = 30, trace=FALSE,…)
convergence threshold for local scoring iterations
convergence threshold for backfitting iterations
maximum number of local scoring iterations
maximum number of backfitting iterations
should iteration details be printed while gam
is fitting the model.
Placemark for additional arguments
a list is returned, consisting of the five parameters, conveniently packaged up to supply the control
argument to gam
. The values for gam.control
can be supplied directly in a call to gam
; these are then filtered through gam.control
inside gam
.
Hastie, T. J. (1992) Generalized additive models. Chapter 7 of Statistical Models in S eds J. M. Chambers and T. J. Hastie, Wadsworth \& Brooks/Cole.
# NOT RUN {
gam(formula, family, control = gam.control(bf.maxit=15))
# }
# NOT RUN {
gam(formula, family, bf.maxit = 15) # these are equivalent
# }
Run the code above in your browser using DataLab