Predict.matrix.cr.smooth        package:mgcv        R Documentation

_P_r_e_d_i_c_t _m_a_t_r_i_x _m_e_t_h_o_d _f_u_n_c_t_i_o_n_s

_D_e_s_c_r_i_p_t_i_o_n:

     The various built in smooth classes for use with 'gam' have
     associate 'Predict.matrix'  method functions to enable prediction
     from the fitted model.

_U_s_a_g_e:

     ## S3 method for class 'cr.smooth':
     Predict.matrix(object, data)
     ## S3 method for class 'cs.smooth':
     Predict.matrix(object, data)
     ## S3 method for class 'cyclic.smooth':
     Predict.matrix(object, data)
     ## S3 method for class 'pspline.smooth':
     Predict.matrix(object, data)
     ## S3 method for class 'tensor.smooth':
     Predict.matrix(object, data)
     ## S3 method for class 'tprs.smooth':
     Predict.matrix(object, data)
     ## S3 method for class 'ts.smooth':
     Predict.matrix(object, data)

_A_r_g_u_m_e_n_t_s:

  object: a smooth object, usually generated by a 'smooth.construct'
          method having  processed a smooth specification object
          generated by an 's' or 'te' term in a  'gam' formula.

    data: A data frame containing the values of the (named) covariates
          at which the smooth term is to be  evaluated. Exact
          requirements are as for 'smooth.construct' and
          'smooth.construct2'

     .

_D_e_t_a_i_l_s:

     The Predict matrix function is not normally called directly, but
     is rather used internally by 'predict.gam' etc.  to predict from a
     fitted 'gam' model. See 'Predict.matrix' for more details, or the
     specific  'smooth.construct' pages for details on a particular
     smooth class.

_V_a_l_u_e:

     A matrix mapping the coeffients for the smooth term to its values
     at the supplied data values.

_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. (2006) Generalized Additive Models: An Introduction with
     R. Chapman and Hall/CRC Press.

_E_x_a_m_p_l_e_s:

     ## see smooth.construct
      

