mgcv (version 1.3-22)

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. (2004) Stable and efficient multiple smoothing parameter estimation for generalized additive models. Journal of the American Statistical Association. 99:673-686

Wood, S.N. (2006) Low rank scale invariant tensor product smooths for Generalized Additive Mixed Models. Biometrics

http://www.maths.bath.ac.uk/~sw283/

See Also

gamm