MCAshiny: Multiple Correspondence Analysis (MCA) with Factoshiny

View source: R/MCAshiny.R

MCAshinyR Documentation

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)

Arguments

X

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

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...)

Author(s)

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

See Also

MCA,dimdesc,plot.MCA
shiny website

Examples

## Not run: 
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)

## End(Not run)

Factoshiny documentation built on Nov. 20, 2023, 5:06 p.m.