Returns a data frame with all the qualitative variables and only discriminating variables
Arguments
matrice
a data frame made up of at least two qualitative variables
(product, panelist) and a set of quantitative variables (sensory descriptors)
col.j
the position of the categorical variable which make the variability, panelist for sensory studies. The value of col.j can also be NULL if no categorical variables make the variability.
col.p
the position of the categorical variable of interest, product for sensory studies
firstvar
the position of the first endogenous variable
lastvar
the position of the last endogenous variable (by default the last column of donnee
level
the threshold (P-value) below which variables are considered as discriminating for
the following analysis of variance model: descriptor=col.p+col.j
data(chocolates)
## In this example, all the descriptos are discriminatedinteresting.desc <- search.desc(sensochoc, col.j = 1, col.p = 4,
firstvar = 5, level = 0.5)