supind.Rd
From MCA results, computes statistics (coordinates, squared cosines) for supplementary individuals.
supind(resmca, supdata)
indsup(resmca, supdata)
object of class MCA
, speMCA
or csMCA
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 :
matrix of individuals coordinates
matrix of individuals squared cosines
indsup
is softly deprecated. Please use supind
instead.
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).
# 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])
#> $coord
#> dim.1 dim.2 dim.3 dim.4 dim.5
#> 2124 -0.03021772 -0.3899678 0.2212868 0.6879359 0.1936124
#> 4485 -0.55418126 -0.6285349 -0.7238657 -0.5821206 -0.1128835
#>
#> $cos2
#> dim.1 dim.2 dim.3 dim.4 dim.5
#> 2124 0.001281 0.213379 0.068708 0.664035 0.052597
#> 4485 0.194654 0.250390 0.332104 0.214775 0.008076
#>