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