Description Usage Arguments Details Value Author(s) References See Also Examples
This function is designed to display the interaction between two qualitative variables, in most cases the product and the session variables.
1 2 | graphinter(donnee, col.p, col.j, firstvar, lastvar=ncol(donnee),
numr = 2,numc = 2)
|
donnee |
a data frame made up of at least two qualitative variables (product, panelist) and a set of quantitative variables (sensory descriptors) |
col.p |
the position of one categorical variables of interest (the product variable) |
col.j |
the position of one categorical variables of interest (the session variable) |
firstvar |
the position of the first endogenous variable |
lastvar |
the position of the last endogenous variable (by default the last column of |
numr |
the number of graphs per row (by default 2) |
numc |
the number of graphs per column (by default 2) |
The data set must be balanced (or not unbalanced too much).
If the variables of interest are the product and the session variables, a list containing the following components:
prod |
a data frame of dimension (p,q), the means over the panelists and the sessions for the p products and the q sensory descriptors |
seance |
as many matrices of dimension (p,q) as there are sessions, the means over the panelists for the p products, the q sensory descriptors and for each session |
The graphical display of the interaction for each sensory descriptor.
F Husson, S Le
P. Lea, T. Naes, M. Rodbotten. Analysis of variance for sensory data.
H. Sahai, M. I. Ageel. The analysis of variance.
1 2 3 4 5 6 | ## Not run:
data(chocolates)
graphinter(sensochoc, col.p = 4, col.j = 2, firstvar = 5, lastvar = 12,
numr = 1, numc = 1)
## End(Not run)
|
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")
dev.new(): using pdf(file="Rplots4.pdf")
dev.new(): using pdf(file="Rplots5.pdf")
dev.new(): using pdf(file="Rplots6.pdf")
$col.p
CocoaA MilkA CocoaF MilkF Caramel Vanilla Sweetness Acidity
choc1 7.086207 3.586207 8.068966 1.568966 1.672414 1.103448 3.137931 4.655172
choc2 6.551724 4.000000 6.913793 2.379310 2.775862 1.810345 4.620690 3.137931
choc3 4.672414 6.051724 3.379310 7.706897 6.327586 3.672414 7.603448 1.568966
choc4 6.258621 4.103448 6.689655 2.586207 2.672414 2.120690 4.293103 3.931034
choc5 6.793103 4.172414 6.793103 3.120690 3.413793 1.793103 5.224138 3.086207
choc6 6.362069 4.568966 6.224138 3.362069 3.258621 1.913793 5.620690 2.672414
$col.j
, , 1
CocoaA MilkA CocoaF MilkF Caramel Vanilla Sweetness Acidity
choc1 7.068966 3.620690 8.034483 1.413793 1.689655 1.000000 3.000000 4.724138
choc2 6.413793 3.896552 7.000000 2.379310 2.896552 1.965517 4.413793 3.137931
choc3 4.793103 5.827586 3.551724 7.517241 6.172414 3.310345 7.379310 1.689655
choc4 6.517241 4.000000 7.172414 1.896552 2.172414 1.862069 3.551724 3.896552
choc5 7.103448 3.793103 6.827586 3.068966 3.448276 1.551724 5.379310 3.241379
choc6 6.448276 4.620690 6.413793 3.344828 3.689655 2.000000 5.275862 2.827586
, , 2
CocoaA MilkA CocoaF MilkF Caramel Vanilla Sweetness Acidity
choc1 7.103448 3.551724 8.103448 1.724138 1.655172 1.206897 3.275862 4.586207
choc2 6.689655 4.103448 6.827586 2.379310 2.655172 1.655172 4.827586 3.137931
choc3 4.551724 6.275862 3.206897 7.896552 6.482759 4.034483 7.827586 1.448276
choc4 6.000000 4.206897 6.206897 3.275862 3.172414 2.379310 5.034483 3.965517
choc5 6.482759 4.551724 6.758621 3.172414 3.379310 2.034483 5.068966 2.931034
choc6 6.275862 4.517241 6.034483 3.379310 2.827586 1.827586 5.965517 2.517241
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.