flip.mca | R Documentation |
Flips the coordinates of the individuals and the categories on one or more dimensions of a MCA.
flip.mca(resmca, dim = 1)
resmca |
object of class |
dim |
numerical vector of the dimensions for which the coordinates are flipped. By default, only the first dimension is flipped |
Returns an object of the same class as resmca
Nicolas Robette
Le Roux B. and Rouanet H., Multiple Correspondence Analysis, SAGE, Series: Quantitative Applications in the Social Sciences, Volume 163, CA:Thousand Oaks (2010).
Le Roux B. and Rouanet H., Geometric Data Analysis: From Correspondence Analysis to Stuctured Data Analysis, Kluwer Academic Publishers, Dordrecht (June 2004).
ggcloud_variables
, ggcloud_indiv
# MCA of Music example data set
data(Music)
mca <- speMCA(Music[,1:5])
ggcloud_variables(mca, legend = "none")
# Flips dimensions 1 and 2
flipped_mca <- flip.mca(mca, dim = c(1,2))
ggcloud_variables(flipped_mca, legend = "none")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.