coefficients              package:base              R Documentation

_E_x_t_r_a_c_t _M_o_d_e_l _C_o_e_f_f_i_c_i_e_n_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     `coef' is a generic function which extracts model coefficients
     from objects returned by modeling functions.  `coefficients' is an
     alias for it.

_U_s_a_g_e:

     coef(object, ...)
     coefficients(object, ...)

_A_r_g_u_m_e_n_t_s:

  object: an object for which the extraction of model coefficients is
          meaningful.

     ...: other arguments.

_D_e_t_a_i_l_s:

     All object classes which are returned by model fitting functions
     should provide a `coef' method.  (Note that the method is `coef'
     and not `coefficients'.)

_V_a_l_u_e:

     Coefficients extracted from the model object `object'.

_S_e_e _A_l_s_o:

     `fitted.values' and `residuals' for related methods; `glm', `lm'
     for model fitting.

_E_x_a_m_p_l_e_s:

     x <- 1:5; coef(lm(c(1:3,7,6) ~ x))

