mgcv
. It is called
by gamm
to set up a generalized additive mixed model in a form suitable for fitting by calls to
glmmPQL
from the MASS
library or lme
from the nlme
library. The main task is the representation of the smooth terms as random effects.Wood, S.N. (2006a) Low rank scale invariant tensor product smooths for generalized additive mixed models. Biometrics 62(4):1025-1036
Wood S.N. (2006b) Generalized Additive Models: An Introduction with R. Chapman and Hall/CRC Press.
gamm