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