Learn R Programming

Factoshiny (version 2.5)

MFAshiny: Multiple Factor Analysis (MFA) with Factoshiny

Description

Performs Multiple Factor Analysis (MFA) with supplementary individuals and supplementary groups of variables on a Shiny application.
Groups of variables can be quantitative, categorical or contingency tables.
Allows to change MFA parameters and graphical parmeters. A maximum of 10 groups can be created
Graphics can be downloaded in png, jpg, pdf and emf.

Usage

MFAshiny(X)

Value

Returns several tabs:

Graphs

a tab containing the individuals factor map, the variables factor map, the groups factor map, the axes factor map and the frequencies factor map (if there is at least one frequency group)

Values

a tab containing the summary of the MFA performed, the eigenvalues, the results for the variables, the results for the individuals and the results of the groups

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.

Arguments

X

a data frame with n rows (individuals) and p columns or a result of the MFA function

Author

Pauline Vaissie, Astrid Monge, Francois Husson francois.husson@institut-agro.fr

See Also

PCA, plot.PCA
shiny website

Examples

Run this code
if (FALSE) {
require(FactoMineR)
data(wine)
# Multiple Factor Analysis with Factoshiny:
res.shiny=MFAshiny(wine)

#If you want to create your groups first and customize your graphs
res.mfa= MFA(wine, group=c(2,5,3,10,9,2), type=c("n",rep("s",5)),
    ncp=5, name.group=c("orig","olf","vis","olfag","gust","ens"),
    num.group.sup=c(1,6))
res.shiny=MFAshiny(res.mfa)
}

Run the code above in your browser using DataLab