ca_row_contrib {booklet} | R Documentation |
Compute row contributions
Description
Return row contributions for each correspondence component
Usage
ca_row_contrib(row_coords, X, eigs)
Arguments
row_coords |
row coordinates |
X |
standardized matrix |
eigs |
eigs computed by |
Value
A dataframe of row contributions.
Examples
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()
[Package booklet version 1.0.0 Index]