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

Description Usage Arguments Details Author(s) References See Also Examples

View source: R/barrow.R

Description

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

Usage

1
2
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.

Author(s)

S Le Sebastien.Le@agrocampus-rennes.fr

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

plot

Examples

1
2
3
4
5
6
7
8
data(chocolates)
resdecat<-decat(sensochoc, formul = "~Product+Panelist", firstvar = 5, 
    graph = FALSE)
## Not run: 
barrow(resdecat$tabT)
barrow(resdecat$coeff, color = "orange")

## End(Not run)

Example output

Loading required package: FactoMineR
dev.new(): using pdf(file="Rplots1.pdf")
dev.new(): using pdf(file="Rplots2.pdf")
dev.new(): using pdf(file="Rplots3.pdf")

SensoMineR documentation built on July 2, 2020, 1:56 a.m.