Usage
IdMapConsumer(dataset.id, dataset.signa, col.p, col.j, col.lik,
num.col.var.signa, conf.level=0.95, id.recogn, nbchoix = NULL, nbsimul = 500, alpha = 0.05, coord = c(1, 2), precision = 0.1, levels.contour = NULL, color = FALSE, simusigni = 500)
Arguments
dataset.id
A matrix with at least two qualitative variables (consumer and products)
and a set of quantitative variables containing at least 2*A variables (for both perceived and ideal intensities)
dataset.signa
a data frame with n rows (individuals) and p columns (categorical variables)
col.p
The position of the product variable in the dataframe dataset.id
col.j
The position of the consumer variable in the dataframe dataset.id
col.lik
The position of the liking variable in the dataframe dataset.id
id.recogn
The sequence in the variable names which distinguish the ideal
variables from the sensory variables. This sequence should be fixed and unique.
Each ideal variable should be preceeded by the corresponding perceived intensity variable.
num.col.var.signa
The position of the categorical variables in the dataframe dataset.signa you want to plot the ideal area
of the different modalities/you want to know if the ideal product of the different modalities is significantly different
conf.level
Threshold used for the tests
nbchoix
The number of consumers forming a virtual panel, by default the number of panelists in the original panel
nbsimul
The number of simulations (corresponding to the number of virtual panels) used to compute the ellipses
alpha
The confidence level of the ellipses
coord
A length 2 vector specifying the components to plot
precision
The value defining the step when gridding the space
levels.contour
The levels (between 0 and 1) to consider for the colors on the surface plot.
By default, they are set automatically based on the results
color
Boolean, define whether the map is in color or in black and white
simusigni
The number of simulations used to perform the global and the pair comparison test