Return CA results with FactoMineR's style
Arguments
- X
a data frame with n rows (individuals) and p columns (numeric variables)
- ncp
an integer, the number of components to keep (value set by default)
- row_sup
a vector indicating the indexes of the supplementary rows
- col_sup
a vector indicating the indexes of the supplementary cols
- weighted_row
row weights
Examples
library(FactoMineR2)
res <- facto_ca(X = mtcars[, c(2, 8:11)], ncp = 2)