scaled.dev | R Documentation |
From MCA results, computes scaled deviations between categories for a categorical supplementary variable.
scaled.dev(resmca, var)
resmca |
object of class |
var |
the categorical supplementary variable. It does not need to have been used at the MCA step. |
Returns a list with one matrix for each dimension of the MCA. Each matrix is filled with scaled deviations between the categories of the supplementary variable, for a given dimension.
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).
supvar
, supvars
, ggadd_supvar
, ggadd_supvars
, textvarsup
, supind
# specific MCA of Music example data set
data(Music)
junk <- c("FrenchPop.NA", "Rap.NA", "Rock.NA", "Jazz.NA", "Classical.NA")
mca <- speMCA(Music[,1:5], excl = junk)
# computes scaled deviations for Age supplementary variable
scaled.dev(mca,Music$Age)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.