"plot"(x, axes = c(1, 2), xlim = NULL, ylim = NULL,
invisible = c("none","row","col","row.sup","col.sup","quali.sup"),
choix = c("CA","quanti.sup"), col.row="blue", col.col="red",
col.row.sup="darkblue", col.col.sup="darkred", col.quali.sup="magenta", col.quanti.sup="blue",
label = c("all","none","row","row.sup","col","col.sup","quali.sup"), title = NULL, palette = NULL, autoLab = c("auto","yes","no"),
new.plot=FALSE, selectRow = NULL, selectCol = NULL,
unselect = 0.7, shadowtext = FALSE, habillage = "none", ...)autoLab="auto", autoLab is equal to "yes" if there are less than 50 elements and "no" otherwise; if "yes", the labels of the drawn elements are placed in a "good" way (can be time-consuming if many elements), and if "no" the elements are placed quickly but may overlapunselect=1 the transparceny is total and the elements are not drawn, if unselect=0 the elements are drawn as usual but without any label) or may be a color (for example unselect="grey60")autoLab = "yes" is time-consuming if there are many labels that overlap. In this case, you can modify the size of the characters in order to have less overlapping, using for example cex=0.7.
The selectRow and selectCol arguments can be used in order to select a part of the elements that are drawn.
For example, you can use:
selectRow = 1:5 and then the rows 1 to 5 are drawn.
select = c("name1","name5") and then the rows that have the names name1 and name5 are drawn.
select = "coord 10" and then the 10 rows (10 active and 10 supplementaries) that have the highest (squared) coordinates on the 2 chosen dimensions are drawn.
select = "contrib 10" and then the 10 rows (10 active) that have the highest contribution on the 2 dimensions of your plot are drawn.
select = "cos2 5" and then the 5 rows (5 actives and 5 supplementaries) that have the highest cos2 on the 2 dimensions of your plot are drawn.
select = "dist 8" and then the 8 rows (8 actives and 8 supplementaries) that have the highest distance to the center of gravity are drawn.
CAdata(children)
res.ca <- CA (children, col.sup = 6:8, row.sup = 15:18)
## select rows and columns that have a cos2 greater than 0.8
plot(res.ca,selectCol="cos2 0.8",selectRow="cos2 0.8")
Run the code above in your browser using DataLab