plot.DMFA | R Documentation |
Plot the graphs for a Principal Component Analysis (DMFA) with supplementary individuals, supplementary quantitative variables and supplementary categorical variables.
## S3 method for class 'DMFA'
plot(x, axes = c(1, 2), choix = "ind", label="all",
lim.cos2.var = 0., xlim=NULL, ylim=NULL, title = NULL,
palette = NULL, new.plot = FALSE,
autoLab = c("auto","yes","no"), ...)
x |
an object of class DMFA |
axes |
a length 2 vector specifying the components to plot |
choix |
the graph to plot ("ind" for the individuals, "var" for the variables) |
label |
a list of character for the elements which are labelled (by default, all the elements are labelled ("ind", ind.sup", "quali", "var", "quanti.sup")) |
lim.cos2.var |
value of the square cosinus under the variables are not drawn |
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' |
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))) |
new.plot |
boolean, if TRUE, a new graphical device is created |
autoLab |
if |
... |
further arguments passed to or from other methods |
Returns the individuals factor map and the variables factor map, the partial variables representation and the groups factor map.
Francois Husson francois.husson@institut-agro.fr
DMFA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.