varplot               package:maanova               R Documentation

_V_a_r_i_a_n_c_e _c_o_m_p_o_n_e_n_t _p_l_o_t

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

     This function plots the density curve of each variance component
     of a result from 'fitmaanova'.

     If the input is from fixed model ANOVA, it will plot one curve for
     error variance component. If the input is from mixed model ANOVA,
     it will plot multiple curves, one for a random term (including
     error).

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

     varplot(anovaobj)

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

anovaobj: An object of class 'maanova'.

_A_u_t_h_o_r(_s):

     Hao Wu hao@jax.org

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

     'fitmaanova', 'density'

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

     # load in Paigen's data
     data(paigen)
     # make data object with rep 2
     paigen <- createData(paigen.raw, 2)
     ## Not run: 
     model.full.mix <- makeModel(data=paigen,
           formula=~Dye+Array+Spot+Strain+Diet+Strain:Diet+Sample,
           random=~Array+Spot+Sample)
     anova.full.mix <- fitmaanova(paigen, model.full.mix, method="REML")
     varplot(anova.full.mix)
     ## End(Not run)

