ca_col_cos2 | R Documentation |
Return col squared cosines for each correspondence component
ca_col_cos2(col_coords, X)
ca_col_sup_cos2(col_coords, X_sup, X)
col_coords |
col coordinates |
X |
active dataset |
X_sup |
supplementary dataset |
A dataframe of col squared cosines.
library(booklet)
X_scaled <- mtcars[, c(2, 8:11)] |>
ca_standardize()
X_scaled |>
ca_weighted_eigen() |>
ca_col_coords() |>
ca_col_cos2(X_scaled) |>
head()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.