ldahist                 package:MASS                 R Documentation

_H_i_s_t_o_g_r_a_m_s _o_r _D_e_n_s_i_t_y _P_l_o_t_s _o_f _M_u_l_t_i_p_l_e _G_r_o_u_p_s

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

     Plot histograms or density plots of data on a single Fisher linear
     discriminant.

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

     ldahist(data, g, nbins = 25, h, x0 = - h/1000, breaks,
             xlim = range(breaks), ymax = 0, width,
             type = c("histogram", "density", "both"),
             sep = (type != "density"),
             col = 5, xlab = deparse(substitute(data)"der_o_m _a _B_a_r_l_e_y _F_i_e_l_d _T_r_i_a_l

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

     The 'immer' data frame has 30 rows and 4 columns.  Five varieties
     of barley were grown in six locations in each of 1931 and 1932.

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

     immer

_F_o_r_m_a_t:

     This data frame contains the following columns:

     '_L_o_c' The location.

     '_V_a_r' The variety of barley ('"manchuria"', '"svansota"',
          '"velvet"', '"trebi"' and '"peatland"').

     '_Y_1' Yield in 1931

     '_Y_2' Yield in 1932

_S_o_u_r_c_e:

     Immer, F.R., Hayes, H.D. and LeRoy Powers (1934) Statistical
     determination of barley varietal adaptation. _Journal of the
     American Society for Agronomy_ *26*, 403-419.

     Fisher, R.A. (1947) _The Design of Experiments._ 4th edition.
     Edinburgh: Oliver and Boyd.

_R_e_f_e_r_e_n_c_e_s:

     Venables, W. N. and Ripley, B. D. (1999) _Modern Applied
     Statistics with S-PLUS._ Third Edition. Springer.

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

     immer.aov <- aov(cbind(Y1,Y2) ~ Loc + Var, data = immer)
     summary(immer.aov)

     immer.aov <- aov((Y1+Y2)/2 ~ Var + Loc, data = immer)
     summary(immer.aov)
     model.tables(immer.aov, type = "means", se = TRUE, cterms = "Var")

                                                                                                                                                          