Skip to contents

Return MFA results with FactoMineR's style

Usage

facto_mfa(X, groups, ncp = 2)

Arguments

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)

Examples

library(FactoMineR2)

res <- facto_mfa(X = iris[, -c(5)], groups = c(2, 2), ncp = 2)