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, xlab, ylab, main)

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

anovaobj: An object of class 'maanova'.

    xlab: Figure xlab. Default is "Sigma".

    ylab: Figure ylab. Default is "Density".

    main: Figure title. Default is "Density plot for sqrt of variance".

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

     Hao Wu

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

     'fitmaanova', 'density'

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

     # load abf1 data
     data(abf1)
     ## Not run: 
     fit.full.mix <- fitmaanova(abf1, formula = ~Strain+Sample, 
        random = ~Sample)
     varplot(fit.full.mix)
     ## End(Not run)

