textindsup | R Documentation |
Adds supplementary individuals to a MCA cloud of the individuals.
textindsup(resmca, supdata, axes = c(1, 2), col = "darkred")
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. |
axes |
numeric vector of length 2, specifying the dimensions (axes) to plot (default is c(1,2)) |
col |
color for the labels of the categories (default is "darkred") |
Nicolas Robette
supind
, plot.speMCA
, plot.csMCA
# 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)
# cloud of active individuals
# with the two supplementary individuals
plot(mca, type = "i")
textindsup(mca, Music[1:2, 1:5])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.