gamm.setup               package:mgcv               R Documentation

_G_e_n_e_r_a_l_i_z_e_d _A_d_d_i_t_i_v_e _M_i_x_e_d _M_o_d_e_l _s_e_t _u_p.

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_A_u_t_h_o_r(_s):

     Simon N. Wood simon.wood@r-project.org

_R_e_f_e_r_e_n_c_e_s:

     Wood, S.N. (2004a) Stable and efficient multiple smoothing
     parameter estimation for generalized additive models. Journal of
     the American Statistical Association.

     Wood, S.N. (2004b) Low rank scale invariant tensor product smooths
     for Generalized Additive Mixed Models. Technical Report of the
     Department of Statistics, University of Glasgow, UK.

     <URL: http://www.stats.gla.ac.uk/~simon/>

_S_e_e _A_l_s_o:

     'gamm'

