formXtViX                package:mgcv                R Documentation

_F_o_r_m _c_o_m_p_o_n_e_n_t _o_f _G_A_M_M _c_o_v_a_r_i_a_n_c_e _m_a_t_r_i_x

_D_e_s_c_r_i_p_t_i_o_n:

     This is a service routine for 'gamm'. Given, V, an estimated
     covariance matrix obtained using 'extract.lme.cov2' this routine
     forms X'inv(V)X as efficiently as possible, given the structure of
     V (usually sparse).

_U_s_a_g_e:

     formXtViX(V,X)

_A_r_g_u_m_e_n_t_s:

       V: A data covariance matrix list returned from
          'extract.lme.cov2'

       X: A model matrix.

_D_e_t_a_i_l_s:

     The covariance matrix returned by 'extract.lme.cov2' may be in a
     packed and re-ordered format, since it is usually sparse. Hence a
     special service routine is required to form the required products
     involving this matrix.

_V_a_l_u_e:

     A matrix.

_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:

     For 'lme' see:

     Pinheiro J.C. and Bates, D.M. (2000) Mixed effects Models in S and
     S-PLUS. Springer

     For details of how GAMMs are set up for estimation using 'lme'
     see:

     Wood, S.N. (2006) Low rank scale invariant tensor product smooths
     for Generalized Additive Mixed Models. Biometrics 62(4):1025-1036

     <URL: http://www.maths.bath.ac.uk/~sw283/>

_S_e_e _A_l_s_o:

     'gamm', 'extract.lme.cov2'

