facto_mfa | R Documentation |
Return MFA results with FactoMineR's style
facto_mfa(X, groups, ncp = 2)
X |
a data frame with n rows (individuals) and p columns (numeric variables) |
groups |
a vector indicating the group of each variable |
ncp |
an integer, the number of components to keep (value set by default) |
A list containing results of FactoMineR's multiple factor analysis (MFA).
library(booklet)
res <- facto_mfa(X = iris[, -c(5)], groups = c(2, 2), ncp = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.