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'.

