Usage
ConsistencyIdeal(dataset, col.p, col.j, col.lik, id.recogn, type="both", scale.unit=TRUE,
ncp=NULL, axes=c(1,2), nbsim=0, replace.na=FALSE, graph=TRUE)
Arguments
dataset
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)
col.p
The position of the product variable
col.j
The position of the consumer variable
col.lik
The position of the liking variable
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.
type
Define whether you want the sensory consistency only ("sensory"), the hedonic consistency only ("hedonic"), or both ("both")
scale.unit
Boolean, if TRUE the descriptors are scaled to unit variance
ncp
Number of dimensions kept in the results
axes
A length 2 vector specifying the components to plot
nbsim
The number of simulations performed. By default (=0), no simulations are performed and only the results for the real data are given
replace.na
Boolean, define whether the missing values (in the correlation matrix calculated for the consistency at the consumer level) should be ignored or replaced by 0
graph
Boolean, define whether the distribution of the correlation coefficient should be plot