MCA | R Documentation |
Performs Multiple Correspondence Analysis (MCA) with supplementary individuals, supplementary quantitative variables and supplementary categorical variables. Performs also Specific Multiple Correspondence Analysis with supplementary categories and supplementary categorical variables. Missing values are treated as an additional level, categories which are rare can be ventilated.
MCA(
d,
ncp = 5,
ind.sup = NULL,
quanti.sup = NULL,
quali.sup = NULL,
row.w = NULL
)
d |
A ddata frame or a table with n rows and p columns, i.e. a contingency table. |
ncp |
The number of dimensions kept in the results (by default 5). |
ind.sup |
A vector indicating the indexes of the supplementary individuals. |
quanti.sup |
A vector indicating the indexes of the quantitative supplementary variables. |
quali.sup |
A vector indicating the indexes of the categorical supplementary variables. |
row.w |
An optional row weights (by default, a vector of 1 for uniform row weights); the weights are given only for the active individuals. |
The MCA on the dataset.
MCA
, CA
, PCA
, plot.factorial
, factorial-class
data (tea, package = "FactoMineR")
MCA (tea, quanti.sup = 19, quali.sup = 20:36)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.