

coefficients {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 coef-
     ficients from objects returned by modeling functions.
     `coefficients' is an alias (`.Alias') for it.

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

     coef(x, ...)
     coefficients(x, ...)

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

       x: an object for which the extraction of model coef-
          ficients 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 `x'.

_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))

