supind | R Documentation |
From MCA results, computes statistics (coordinates, squared cosines) for supplementary individuals.
supind(resmca, supdata)
indsup(resmca, supdata)
resmca |
object of class |
supdata |
data frame with the supplementary individuals. It must have the same factors as the data frame used as input for the initial MCA. |
Returns a list with the following items :
coord |
matrix of individuals coordinates |
cos2 |
matrix of individuals squared cosines |
indsup
is softly deprecated. Please use supind
instead.
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).
ggadd_supind
,textindsup
, supvar
, supvars
# specific MCA of Music example data set
# excluding the first two observations
data(Music)
junk <- c("FrenchPop.NA", "Rap.NA", "Rock.NA", "Jazz.NA", "Classical.NA")
mca <- speMCA(Music[3:nrow(Music),1:5], excl = junk)
# computes coordinates and squared cosines
# of the first two (supplementary) observations
supind(mca,Music[1:2,1:5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.