Learn R Programming

GDAtools (version 1.0)

textindsup: Adds supplementary individuals to a MCA graph

Description

Adds supplementary individuals to a MCA graph of the cloud of the individuals.

Usage

textindsup(resmca, supdata, axes = c(1, 2), col = "darkred")

Arguments

See Also

indsup, plot.speMCA, plot.csMCA

Examples

Run this code
## Performs a specific MCA on 'Music' example data set
## ignoring every 'NA' (i.e. 'not available') categories,
## plots the cloud of individuals,
## and then adds supplementary individuals.
data(Music)
getindexcat(Music)
mca <- speMCA(Music[3:nrow(Music),1:5],excl=c(3,6,9,12,15))
plot(mca,type='i')
textindsup(mca,Music[1:2,1:5])

Run the code above in your browser using DataLab