terms                 package:stats                 R Documentation

_M_o_d_e_l _T_e_r_m_s

_D_e_s_c_r_i_p_t_i_o_n:

     The function 'terms' is a generic function which can be used to
     extract _terms_ objects from various kinds of R data objects.

_U_s_a_g_e:

     terms(x, ...)

_A_r_g_u_m_e_n_t_s:

       x: object used to select a method to dispatch.

     ...: further arguments passed to or from other methods.

_D_e_t_a_i_l_s:

     There are methods for classes '"aovlist"', and '"terms"'
     '"formula"' (see 'terms.formula'): the default method just
     extracts the 'terms' component of the object (if any).

_V_a_l_u_e:

     An object of class 'c("terms", "formula")' which contains the
     _terms_ representation of a symbolic model. See 'terms.object' for
     its structure.

_R_e_f_e_r_e_n_c_e_s:

     Chambers, J. M. and Hastie, T. J. (1992) _Statistical models._
     Chapter 2 of _Statistical Models in S_ eds J. M. Chambers and T.
     J. Hastie, Wadsworth & Brooks/Cole.

_S_e_e _A_l_s_o:

     'terms.object', 'terms.formula', 'lm', 'glm', 'formula'.

