chats                  package:ade4                  R Documentation

_P_a_i_r _o_f _V_a_r_i_a_b_l_e_s

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

     This data set is a contingency table of age classes and fecundity
     classes of cats felis catus.

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

     data(chats)

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

     'chats' is a data frame with 8 rows and 8 columns.\ The 8 rows are
     age classes (age1, ..., age8)\ The 8 columns are fecundity classes
     (f0, f12, f34, ..., fcd)\ The values are cats numbers (contingency
     table).

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

     Legay, J.M. and Pontier, D. (1985) Relation ge-fcondit dans les
     populations de Chats domestiques, Felis catus. _Mammalia_, *49*,
     395-402.

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

     data(chats)
     chatsw <- data.frame(t(chats))
     chatscoa <- dudi.coa(chatsw, scann = FALSE)
     par(mfrow = c(2,2))
     table.cont(chatsw, abmean.x = TRUE, csi = 2, abline.x = TRUE, 
         clabel.r = 1.5, clabel.c = 1.5)
     table.cont(chatsw, abmean.y = TRUE, csi = 2, abline.y = TRUE, 
         clabel.r = 1.5, clabel.c = 1.5)
     table.cont(chatsw, x = chatscoa$c1[,1], y = chatscoa$l1[,1],
         abmean.x = TRUE, csi = 2, abline.x = TRUE, clabel.r = 1.5, 
         clabel.c = 1.5)
     table.cont(chatsw,, x = chatscoa$c1[,1], y = chatscoa$l1[,1],
         abmean.y = TRUE, csi = 2, abline.y = TRUE, clabel.r = 1.5, 
         clabel.c = 1.5)
     par(mfrow = c(1,1))

