Skip to contents

Return Correspondence component for columns

Usage

ca_col_coords(eigs)

ca_col_sup_coords(X_sup, eigs)

Arguments

eigs

eigs computed by ca_weighted_eigen

X_sup

Supplementary dataset

Examples

library(FactoMineR2)

mtcars[, c(2, 8:11)] |>
  ca_standardize() |>
  ca_weighted_eigen() |>
  ca_col_coords() |>
  head()
#>           Dim.1      Dim.2       Dim.3       Dim.4        Dim.5
#> cyl  -0.1672822 -0.1189059 -0.08626184  0.02530453 7.605918e-17
#> vs    1.1079611 -0.5775225  0.33089575  0.11930724 7.605918e-17
#> am    0.8880385  0.7730615 -0.32859025  0.13361980 7.605918e-17
#> gear  0.2167846  0.0151303 -0.01116446 -0.08560812 7.605918e-17
#> carb -0.2168297  0.2199278  0.20040426  0.01871225 7.605918e-17