Learn R Programming

GDAtools (version 1.0)

multiMCA: Performs Multiple Factor Analysis

Description

Performs Multiple Factor Analysis, drawing on the work of Escoffier and Pages (1994). It allows the use of MCA variants (e.g. specific MCA or class specific MCA) as inputs.

Usage

multiMCA(l_mca, ncp = 5)

Arguments

Value

  • Returns an object of class 'multiMCA', i.e. a list:
  • eiga list of numeric vector for eigenvalues, percentage of variance and cumulative percentage of variance
  • vara list of matrices with results for input MCAs components (coordinates, correlation between variables and axes, square cosine, contributions)
  • inda list of matrices with results for individuals (coordinates, square cosine, contributions)
  • calla list with informations about input data
  • VARa list of matrices with results for categories and variables in the input MCAs (coordinates, square cosine, test-values, variances)
  • my.mcalists the content of the objects in l_mca argument
  • RVa matrix of RV coefficients

Details

This function binds individual coordinates from every MCA in l_mca argument, weights them by the first eigenvalue, and the resulting data frame is used as input for Principal Component Analysis (PCA).

References

Escofier, B. and Pages, J. (1994) "Multiple Factor Analysis (AFMULT package)". Computational Statistics and Data Analysis, 18, 121-140.

See Also

plot.multiMCA, varsup, speMCA, csMCA, MFA, PCA

Examples

Run this code
## Performs a specific MCA on music variables of 'Taste' example data set,
## another one on movie variables of 'Taste' example data set, 
## and then a Multiple Factor Analysis.
data(Taste)
getindexcat(Taste[,1:5])
mca1 <- speMCA(Taste[,1:5],excl=c(3,6,9,12,15))
getindexcat(Taste[,6:11])
mca2 <- speMCA(Taste[,6:11],excl=c(3,6,9,12,15,18))
mfa <- multiMCA(list(mca1,mca2))
plot.multiMCA(mfa)

Run the code above in your browser using DataLab