Plot the graphs for Factorial Approach for Sorting Task data (FAST).
# S3 method for fast
plot(x,choix="ind", axes = c(1, 2), xlim = NULL, ylim = NULL, invisible = NULL,
col.ind = "blue", col.var = "red", col.quali.sup = "darkred",
col.ind.sup ="darkblue", col.quanti.sup = "black",label = "all",
cex = 1,lab.grpe = TRUE, title = NULL, habillage = "none", palette = NULL,
new.plot = TRUE, ...)
Returns the products factor map, the categories factor map and the consumers factor map.
an object of class fast
a length 2 vector specifying the components to plot
the graph to plot ("ind" for the products, "var" for the vcategories, "group" for the consumers)
range for the plotted 'x' values, defaulting to the range of the finite values of 'x'
range for the plotted 'y' values, defaulting to the range of the finite values of 'y'
give no color for the individuals ("none"), or color the products among a consumer (give the number of the consumer)
a color for the products
a color for the categories
a color for the supplementary categories
a color for the supplementary individuals
a color for the quantitative supplementary variables
a list of character for the elements which are labelled (by default, all the elements are labelled ("ind", "var"))
string indicating if some points should not be drawn ("ind" or "var")
cf. function par
in the graphics package
boolean, if TRUE, the consumers are labelled
string corresponding to the title of the graph you draw (by default NULL and a title is chosen)
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)))
boolean, if TRUE, a new graphical device is created
further arguments passed to or from other methods
Marine Cadoret, Sebastien Le sebastien.le@institut-agro.fr
fast
if (FALSE) {
data(perfume)
res.fast <- fast(perfume,graph=FALSE)
plot.fast(res.fast,choix="ind",invisible="var",habillage=5)
plot.fast(res.fast,choix="group")
}
Run the code above in your browser using DataLab