Learn R Programming

mgcv (version 1.0-5)

gamm.setup: Generalized Additive Mixed Model set up.

Description

This is an internal function of package 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.

Arguments

References

Wood, S.N. (manuscript) Tensor product smooth interactions in Generalized Additive Mixed Models.

http://www.stats.gla.ac.uk/~simon/

See Also

gamm