plot.CA {FactoMineR} | R Documentation |
Draw the Correspondance Analysis (CA) graphs.
plot.CA(x, axes = c(1, 2), xlim = NULL, ylim = NULL, invisible = NULL, col.row = "blue", col.col = "red", col.row.sup = "darkblue", col.col.sup = "darkred", label = "all", cex = 1, title = NULL, palette = NULL, ...)
x |
an object of class CA |
axes |
a length 2 vector specifying the components to plot |
xlim |
range for the plotted 'x' values, defaulting to the range of the finite values of 'x' |
ylim |
range for the plotted 'y' values, defaulting to the range of the finite values of 'y' |
invisible |
string indicating if some points should be unlabelled ("row", "col", "row.sup", "col.sup") |
col.row |
a color for the rows points |
col.col |
a color for columns points |
col.row.sup |
a color for the supplementary rows points |
col.col.sup |
a color for supplementary columns points |
label |
a list of character for the elements which are labelled (by default, all the elements are labelled ("row", "row.sup", "col", "col.sup" |
cex |
cf. function par in the graphics package |
title |
string corresponding to the title of the graph you draw (by default NULL and a title is chosen) |
palette |
the color palette used to draw the points. By default colors are chosen. If you want to define the colors : palette=palette(c("black","red","blue")); or you can use: palette=palette(rainbow(30)), or in black and white for example: palette=palette(gray(seq(0,.9,len=25))) |
... |
further arguments passed to or from other methods |
Returns the individuals factor map and the variables factor map.
Jeremy Mazet, Francois Husson Francois.Husson@agrocampus-ouest.fr
data(children) res.ca <- CA (children, col.sup = 6:8, row.sup = 15:18)