

summary {base}                               R Documentation

_O_b_j_e_c_t _S_u_m_m_a_r_i_e_s

_D_e_s_c_r_i_p_t_i_o_n_:

     `summary' is a generic function used to produce result
     summaries of the results of various model fitting func-
     tions.  The function invokes particular `methods' which
     depend on the `class' of the first argument.

_U_s_a_g_e_:

     summary(object, ...)

     summary.default   (object, ..., digits = max(3, .Options$digits -3))
     summary.data.frame(object, maxsum = 7, ...)
     summary.factor    (object, maxsum = 100, ...)
     summary.matrix    (object, ...)

_A_r_g_u_m_e_n_t_s_:

  object: an object for which a summary is desired.

  maxsum: integer, indicating how many levels should be
          shown for `factor's.

     ...: additional arguments affecting the summary pro-
          duced.

_D_e_t_a_i_l_s_:

     For `factor's, the frequency of the first `maxsum - 1'
     most frequent levels is shown, where the less frequent
     levels are summarized in `"(Others)"' (resulting in
     `maxsum' frequencies).

     The functions `summary.lm' and `summary.glm' are exam-
     ples of particular methods which summarise the results
     produced by `lm' and `glm'.

_V_a_l_u_e_:

     The form of the value returned by `summary' depends on
     the class of its argument.  See the documentation of
     the particular methods for details of what is produced
     by that method.

_S_e_e _A_l_s_o_:

     `anova',`summary.glm',`summary.lm'.

_E_x_a_m_p_l_e_s_:

     options(digits=5)
     data(attenu)
     summary(attenu) #-> summary.data.frame(..)
     summary(attenu $ station, maxsum = 20) #-> summary.factor(..)

