| MCAvariants | R Documentation |
It performs Classic Multiple Correspondence analysis for nominal variables
(setting catype = "mca") and Ordered Multiple Correspondence analysis via orthogonal polynomials (setting catype="omca").
When the categorical variables are nominal and ordinal, you can specify writing FALSE or TRUE in the input parameter vordered.
MCAvariants(Xtable, catype = "omca", np = 5, vordered=c(TRUE,TRUE,TRUE,TRUE,TRUE))
Xtable |
The two-way contingency table. |
catype |
The input parameter for specifying what variant of multiple correspondence analysis is considered.
By default, |
np |
The input parameter for specifying the number of categorical variables. By default, |
vordered |
The flag parameter for specifying what variable is ordered, the ordered variables should be in column close each other.
By default, all the five variables are ordered: |
Description of the output returned
Xtable |
The starting table of variables in reduced (primitive) code. |
rows |
The row number of the starting table. |
cols |
The column number of the starting table (coincident with the variable number). |
rowlabels |
The label of the row individuals. |
columnlabels |
The label of the column variable categories. |
Rprinccoord |
The coordinates of individuals. |
Cprinccoord |
The category variable coordinates. |
inertiaXsum |
The total inertia when multiple correspondence analysis is performed on the indicator table. |
inertiaBurtsum |
The total inertia when multiple correspondence analysis is performed on the Burt table. |
inertias |
Benzecri's Adjusted Inertia values, percentages and cumulative values. |
inertiasAdjusted |
The adjusted inertia values. |
catype |
The kind of multiple correspondence analysis chosen, classical or ordered, that is |
printdims |
The dimension of a matrix in print. By default it is equal to 3. |
comp |
The polynomial components of inertia when |
componentpvalue1 |
The p-value of the polynomial components of total inertia, when |
degreef |
The degree of freedom of polynomial components of total inertia when, |
This function recalls internally two other functions, depending on the setting of the input parameter catype, it recalls
multiple correspondence analysis or ordered multiple correspondence analysis.
It gives the output object necessary for printing and plotting the results. These two
important functions are print.MCAvariants and plot.MCAvariants.
Rosaria Lombardo and Eric J Beh
Lombardo R and Meulman JJ (2010) Journal of Classification, 27, 191-210.
Beh EJ Lombardo R (2014) Correspondence Analysis, Theory, Practice and New Strategies. Wiley
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.