| plot_category_projections | R Documentation |
Visualizes category coordinates in a 2D MCA subspace and optionally displays projections onto the aggregated ALSI direction.
plot_category_projections(
fit,
K,
alpha_vec = NULL,
dim_pair = c(1, 2),
cex = 0.8,
top_n = 15
)
fit |
MCA fit object (class |
K |
Number of dimensions in retained subspace |
alpha_vec |
Optional aggregated direction vector (from |
dim_pair |
Integer vector of length 2, dimensions to plot (default: c(1,2)) |
cex |
Character expansion for labels |
top_n |
Number of top categories to display by projection (default: 15) |
No return value, called for side effects. The function creates
a scatter plot of category coordinates in the specified 2D subspace,
with category labels displayed. If alpha_vec is provided, it also
prints the top categories ranked by their absolute projection onto the
ALSI direction to the console.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.