Learn R Programming

Factoshiny (version 2.5)

MCAshiny: Multiple Correspondence Analysis (MCA) with Factoshiny

Description

Performs Multiple Correspondence Analysis (MCA) with supplementary individuals, supplementary quantitative variables and supplementary categorical variables on a Shiny application.
Allows to change MCA parameters and graphical parmeters.
Graphics can be downloaded in png, jpg and pdf.

Usage

MCAshiny(X)

Value

Returns several tabs:

Graphs

a tab containing the individuals factor map and the variables factor map.

Values

a tab containing the summary of the MCA performed, the eigenvalues, the results for the variables, the results for the individuals, the results for the supplementary variables and the results for the numerical variables.

Automatic description of axes

a tab containing the output of the dimdesc function. This function is designed to point out the variables and the categories that are the most characteristic according to each dimension obtained by a Factor Analysis.

Summary of dataset

a tab containing the summary of the dataset and a boxplot and histogram for quantitative variables.

Data

a tab containing the dataset with a nice display.

The left part of the application allows to change all the elements of the MCA and the graphs (axes,variables,colors...)

Arguments

X

a data frame with n rows (individuals) and p columns (numeric variables), or a MCAshiny result or a MCA result

Author

Pauline Vaissie, Astrid Monge, Francois Husson paulinevaissie@gmail.com

See Also

MCA,dimdesc,plot.MCA
shiny website

Examples

Run this code
if (FALSE) {
require(FactoMineR)
data(poison)
# Multiple Correspondance Analysis with Factoshiny:
res.shiny=MCAshiny(poison)

# Find your app the way you left it (by clicking on the "Quit the app" button)
res.shiny2=MCAshiny(res.shiny)

#MCAshiny on a result of a MCA
data(hobbies)
res.mca <- MCA(hobbies,quali.sup=19:22,quanti.sup=23)
res.shiny=MCAshiny(res.mca)
}

Run the code above in your browser using DataLab