VarCorr                 package:lme4                 R Documentation

_E_x_t_r_a_c_t _v_a_r_i_a_n_c_e _a_n_d _c_o_r_r_e_l_a_t_i_o_n _c_o_m_p_o_n_e_n_t_s

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

     Extract the estimated variances, standard deviations, and
     correlations of the random-effects terms in a linear mixed-effects
     model, of class 'lme', or a generalized linear mixed-effects
     model. When appropriate, the within-group error variance and
     standard deviation are also calculated.

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

     VarCorr(x, ...)

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

       x: a fitted model object, usually an object inheriting from
          class 'lmer'. 

     ...: Additional, optional arguments for some methods.  At present
          none are used.

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

     an object of class 'VarCorr'.

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

     'lmer', 'VarCorr-class'

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

     (fm1 <- lmer(decrease ~ treatment + (1|rowpos) + (1|colpos),
                  OrchardSprays))
     VarCorr(fm1)

