Learn R Programming

SensoMineR (version 1.27)

plot.fast: Make Factorial Approach for Sorting Task data (FAST) graphs

Description

Plot the graphs for Factorial Approach for Sorting Task data (FAST).

Usage

# 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, ...)

Value

Returns the products factor map, the categories factor map and the consumers factor map.

Arguments

x

an object of class fast

axes

a length 2 vector specifying the components to plot

choix

the graph to plot ("ind" for the products, "var" for the vcategories, "group" for the consumers)

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'

habillage

give no color for the individuals ("none"), or color the products among a consumer (give the number of the consumer)

col.ind

a color for the products

col.var

a color for the categories

col.quali.sup

a color for the supplementary categories

col.ind.sup

a color for the supplementary individuals

col.quanti.sup

a color for the quantitative supplementary variables

label

a list of character for the elements which are labelled (by default, all the elements are labelled ("ind", "var"))

invisible

string indicating if some points should not be drawn ("ind" or "var")

cex

cf. function par in the graphics package

lab.grpe

boolean, if TRUE, the consumers are labelled

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

...

further arguments passed to or from other methods

Author

Marine Cadoret, Sebastien Le sebastien.le@institut-agro.fr

See Also

fast

Examples

Run this code
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