afc                   package:amap                   R Documentation

_C_o_r_r_e_s_p_o_n_d_a_n_c_e _f_a_c_t_o_r_i_a_l _a_n_a_l_y_s_i_s.

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

     Compute an acp on a contingency table tacking into account weight
     of rows and columns

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

     afc(x)

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

       x: A contingency table, or a result of function 'burt' or
          'matlogic'

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

     Antoine Lucas, <URL:
     http://mulcyber.toulouse.inra.fr/projects/amap/>

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

     ## Not run: 
     color <- as.factor(c('blue','red','red','blue','red'))
     size <- as.factor(c('large','large','small','medium','large'))
     x <- data.frame(color,size)

     afc.1 <- afc(burt(x))
     afc.2 <- afc(matlogic(x))

     plotAll(afc.1)
     plotAll(afc.2)
     ## End(Not run)

