interpret.gam              package:mgcv              R Documentation

_I_n_t_e_r_p_r_e_t _a _G_A_M _f_o_r_m_u_l_a

_D_e_s_c_r_i_p_t_i_o_n:

     This is an internal function of package 'mgcv'. It is a service
     routine for 'gam' which splits off the strictly parametric part of
     the model formula, returning  it as a formula, and interprets the
     smooth parts of the model formula. 

     Not normally called directly.

_U_s_a_g_e:

     interpret.gam(gf)

_A_r_g_u_m_e_n_t_s:

      gf: A GAM formula as supplied to 'gam' or 'gamm'.

_V_a_l_u_e:

     An object of class 'split.gam.formula' with the following items:

      pf: A model formula for the strictly parametric part of the
          model.

    pfok: TRUE if there is a 'pf' formula.

smooth.spec: A list of class 'xx.smooth.spec' objects where 'xx'
          depends on the basis  specified for the term. (These can be
          passed to smooth constructor method functions to actually set
          up penalties and bases.)

full.formula: An expanded version of the model formula in which the
          options are fully expanded, and  the options do not depend on
          variables which might not be available later.

fake.formula: A formula suitable for use in evaluating a model frame.

response: Name of the response variable.

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

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

_S_e_e _A_l_s_o:

     'gam' 'gamm'

