ca_col_contrib | R Documentation |
Return col contributions for each correspondence component
ca_col_contrib(col_coords, X, eigs)
col_coords |
col coordinates |
X |
standardized matrix |
eigs |
eigs computed by |
A dataframe of col contributions.
library(booklet)
X_scaled <- mtcars[, c(2, 8:11)] |>
ca_standardize()
eigs <- X_scaled |>
ca_weighted_eigen()
eigs |>
ca_col_coords() |>
ca_col_contrib(X_scaled, eigs) |>
head()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.