Skip to contents

Return CA results with FactoMineR's style

Usage

facto_ca(X, ncp = 5, row_sup = NULL, col_sup = NULL, weighted_row = NULL)

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)