MFAshiny | R Documentation |
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.
MFAshiny(X)
X |
a data frame with n rows (individuals) and p columns or a result of the MFA function |
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. |
Pauline Vaissie, Astrid Monge, Francois Husson francois.husson@institut-agro.fr
PCA
, plot.PCA
shiny website
## Not run:
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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.