Usage
scalebypanelist(matrice, center = TRUE, scale = FALSE, col.p, col.j, firstvar, lastvar = ncol(matrice), method = "coeff")
Arguments
matrice
a data frame made up of at least two qualitative variables
(product, panelist) and a set of quantitative variables (sensory descriptors)
center
boolean, if T scores given by panelists are centered
scale
boolean, if T scores given by panelists are scaled to unit varaince
col.p
the position of one categorical variables of interest (the product variable)
col.j
the position of one categorical variables of interest (the panelist variable)
firstvar
the position of the first endogenous variable
lastvar
the position of the last endogenous variable (by default the last column of donnee
)
method
the method to replace the missing values: "average" or "coeff"
(coefficients of the product variable in the anova model)