Skip to contents

Return Correspondence component for individuals

Usage

ca_row_coords(eigs)

ca_row_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_row_coords() |>
  head()
#>            Dim 1         Dim 2       Dim 3       Dim 4         Dim 5
#> [1,] -0.02457511  0.3131570187 -0.04364386  0.02054784 -2.566495e-16
#> [2,] -0.02457511  0.3131570187 -0.04364386  0.02054784  1.236526e-16
#> [3,]  0.57200653  0.0001556787 -0.12476066  0.04772303  1.110806e-17
#> [4,]  0.15558561 -0.4380428837 -0.01318653  0.05179715 -2.173349e-17
#> [5,] -0.27455398 -0.1684060608 -0.18222252 -0.02251471  3.485905e-17
#> [6,]  0.15558561 -0.4380428837 -0.01318653  0.05179715 -8.453067e-17