Computes a multiple correspondence analysis.
Usage
mca(object, ...)
# S4 method for class 'data.frame'
mca(object, rank = NULL, sup_row = NULL, sup_col = NULL, sup_quanti = NULL)
# S4 method for class 'matrix'
mca(object, rank = NULL, sup_row = NULL, sup_col = NULL)
Arguments
- object
A \(m \times p\) numeric
matrix
or adata.frame
.- ...
Currently not used.
- rank
An
integer
value specifying the maximal number of components to be kept in the results. IfNULL
(the default), \(min(m, p) - 1\) components will be returned.- sup_row
A
vector
specifying the indices of the supplementary rows.- sup_col
A
vector
specifying the indices of the supplementary categorical columns.- sup_quanti
A
vector
specifying the indices of the supplementary quantitative columns.
Value
A MCA
object.