mca                   package:MASS                   R Documentation

_M_u_l_t_i_p_l_e _C_o_r_r_e_s_p_o_n_d_e_n_c_e _A_n_a_l_y_s_i_s

_D_e_s_c_r_i_p_t_i_o_n:

     Computes a multiple correspondence analysis of a set of factors.

_U_s_a_g_e:

     mca(df, nf = 2, abbrev = FALSE)

_A_r_g_u_m_e_n_t_s:

      df: A data frame containing only factors 

      nf: The number of dimensions for the MCA. Rarely 3 might be
          useful. 

  abbrev: Should the vertex names be abbreviated?  By default these are
          of the form 'factor.level' but if 'abbrev = TRUE' they are
          just 'level' which will suffice if the factors have distinct
          levels. 

_V_a_l_u_e:

     An object of class '"mca"', with components

      rs: The coordinates of the rows, in 'nf' dimensions. 

      cs: The coordinates of the column vertices, one for each level of
          each factor. 

      fs: Weights for each row, used to interpolate additional factors
          in 'predict.mca'. 

       p: The number of factors 

       d: The singular values for the 'nf' dimensions. 

    call: The matched call. 

_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.

_S_e_e _A_l_s_o:

     'predict.mca', 'plot.mca', 'corresp'

_E_x_a_m_p_l_e_s:

     farms.mca <- mca(farms, abbrev=TRUE)
     farms.mca
     plot(farms.mca)

