Computes the quadrant of active individuals from a MCA.

quadrant(resmca, dim = c(1,2))

Arguments

resmca

object of class MCA, speMCA, or csMCA

dim

dimensions of the space (default is c(1,2))

Value

Returns a factor with four levels : upper_left, lower_left, upper_right, lower_right

Author

Nicolas Robette

See also

Examples

# 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)
# distribution of the quadrants
table(quadrant(mca, c(1,2)))
#> 
#>  lower_left  upper_left lower_right upper_right 
#>         101         116          86         197