formula.gam               package:mgcv               R Documentation

_E_x_t_r_a_c_t _t_h_e _f_o_r_m_u_l_a _f_r_o_m _a _g_a_m _o_b_j_e_c_t

_D_e_s_c_r_i_p_t_i_o_n:

     Extracts the formula from a fitted 'gam' object.

_U_s_a_g_e:

     ## S3 method for class 'gam':
     formula(x,...)

_A_r_g_u_m_e_n_t_s:

       x: fitted model objects of class 'gam' (see 'gamObject') as
          produced by 'gam()'.

     ...: un-used in this case

_D_e_t_a_i_l_s:

     Returns 'x$formula'. Provided so that 'anova' methods print an
     appropriate description of the model.

_V_a_l_u_e:

     A model formula.

_A_u_t_h_o_r(_s):

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

_S_e_e _A_l_s_o:

     'gam'

