search.desc | R Documentation |
This function is designed to select the significant descriptors in a data frame
search.desc(matrice, col.j, col.p, firstvar,
lastvar = ncol(matrice), level = 0.5)
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.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 |
level |
the threshold (P-value) below which variables are considered as discriminating for
the following analysis of variance model: |
Returns a data frame with all the qualitative variables and only discriminating variables
Francois Husson
data(chocolates)
## In this example, all the descriptos are discriminated
interesting.desc <- search.desc(sensochoc, col.j = 1, col.p = 4,
firstvar = 5, level = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.