Learn R Programming

SensoMineR (version 1.27)

barrow: Barplot per row with respect to a set of quantitative variables

Description

Returns as many barplots as there are rows in a matrix. The barplots are automatically generated for all the quantitative variables.

Usage

barrow(donnee, numr = 2, numc = 2, numchar = 8, color = "lightblue",
      title = NULL)

Arguments

donnee

a data frame of dimension (p,q), where p is the number of products and q is the number of sensory descriptors for instance

numr

the number of barplots to be displayed per row (by default 2)

numc

the number of barplots to be displayed per column (by default 2)

numchar

the number of character used to write the boxplot labels (by default 8)

color

the color of the barplots (by default "lightblue")

title

the title used in the graphs

Details

Missing values are ignored when forming barplots.

References

Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.
Chambers, J. M., Cleveland, W. S., Kleiner, B. and Tukey, P. A. (1983) Graphical Methods for Data Analysis. Wadsworth & Brooks/Cole.

See Also

Examples

Run this code
data(chocolates)
resdecat<-decat(sensochoc, formul = "~Product+Panelist", firstvar = 5, 
    graph = FALSE)
if (FALSE) {
barrow(resdecat$tabT)
barrow(resdecat$coeff, color = "orange")
}

Run the code above in your browser using DataLab