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)

