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)

