Plotpanelist

Description

Displays panelists' sensory profiles onto the products' space

Usage

1
plotpanelist(mat, coord = c(1,2), name = FALSE, eig, cex = 1, color = NULL)

Arguments

mat

a data frame structured as the first element of the list resulting from the function construct.axes, i.e. the coordinates of the products with respect to the panel and to each panelists

coord

a length 2 vector specifying the components to plot

name

boolean, if T then the name of each panelist is displayed on the graph (by default, FALSE is assigned to that parameter)

eig

a matrix with the component of the factor analysis (in row) and the eigenvalues, the inertia and the cumulative inertia for each component. Typically, the eig output of the construct.axes function

cex

cf. function par in the graphics package

color

a vector with the colors used; by default there are 35 colors defined

Value

Returns a graph where each product is displayed with respect to a panel and to each panelist composing the panel. Products described by the panel are displayed as square, they are displayed as circle when they are described by each panelist.

Author(s)

Fran<e7>ois Husson

Examples

1
2
3
4
data(chocolates)
donnee <- cbind.data.frame(sensochoc[,c(1,4,5:18)])
axe <- construct.axes(donnee, scale.unit = TRUE)
plotpanelist(axe$moyen, eig = signif(axe$eig,4))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.