modelparm              package:multcomp              R Documentation

_G_e_n_e_r_i_c _A_c_c_e_s_s_o_r _F_u_n_c_t_i_o_n _f_o_r _M_o_d_e_l _P_a_r_a_m_e_t_e_r_s

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

     Extract model parameters and their covariance matrix as well as 
     degrees of freedom (if available) from a fitted model.

_U_s_a_g_e:

     modelparm(model, coef., vcov., df, ...)

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

   model: a fitted model, for example an object returned by 'lm',
          'glm', 'aov', 'survreg', or 'lmer' etc.  

   coef.: an accessor function for the model parameters. 

   vcov.: an accessor function for the covariance matrix of the model
          parameters. 

      df: an optional specification of the degrees of freedom to be
          used in subsequent computations. 

     ...: additional arguments, currently ignored. 

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

     One can't expect 'coef' and 'vcov' methods  for arbitrary models
     to return a vector of $p$ fixed effects model parameters ('coef')
     and corresponding $p \times p$ covariance matrix ('vcov').

     The 'coef.' and 'vcov.' arguments can be used to define modified
     'coef' or 'vcov' methods for a specific model. Methods for 'lmer'
     and 'survreg' objects are available (internally).

     For objects inheriting from class 'lm' the degrees of  freedom are
     determined from 'model' and the corresponding multivariate $t$
     distribution is used by all methods to 'glht' objects. By default,
     the asymptotic multivariate normal distribution is used in all
     other cases unless 'df' is specified by the user.

_V_a_l_u_e:

     An object of class 'modelparm' with elements 

    coef: model parameters

    vcov: covariance matrix of model parameters

      df: degrees of freedom

