caith                  package:MASS                  R Documentation

_C_o_l_o_u_r_s _o_f _E_y_e_s _a_n_d _H_a_i_r _o_f _P_e_o_p_l_e _i_n _C_a_i_t_h_n_e_s_s

_D_e_s_c_r_i_p_t_i_o_n:

     Data on the cross-classification of people in Caithness, Scotland,
     by eye and hair colour. The region of the UK is particularly
     interesting as there is a mixture of people of Nordic, Celtic and
     Anglo-Saxon origin.

_U_s_a_g_e:

     data(caith)

_F_o_r_m_a_t:

     A 4 by 5 table with rows the eye colours (blue, light, medium,
     dark) and columns the hair colours (fair, red, medium, dark,
     black).

_S_o_u_r_c_e:

     Fisher, R.A. (1940) The precision of discriminant functions.
     _Annals of Eugenics (London)_ *10*, 422-429.

_R_e_f_e_r_e_n_c_e_s:

     Venables, W. N. and Ripley, B. D. (2002) _Modern Applied
     Statistics with S._ Fourth edition.  Springer.

_E_x_a_m_p_l_e_s:

     corresp(caith)
     dimnames(caith)[[2]] <- c("F", "R", "M", "D", "B")
     par(mfcol=c(1,3))
     library(mva)
     plot(corresp(caith, nf=2)); title("symmetric")
     plot(corresp(caith, nf=2), type="rows"); title("rows")
     plot(corresp(caith, nf=2), type="col"); title("columns")
     par(mfrow=c(1,1))

