Computes a multiple correspondence analysis of a set of factors.
mca(df, nf = 2, abbrev = FALSE)
- A data frame containing only factors
- The number of dimensions for the MCA. Rarely 3 might be useful.
Should the vertex names be abbreviated? By default these are of the
form ‘factor.level’ but if
abbrev = TRUEthey are just ‘level’ which will suffice if the factors have distinct levels.
An object of class
"mca", with components
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.
farms.mca <- mca(farms, abbrev=TRUE) farms.mca plot(farms.mca)
Looks like there are no examples yet.