consistency_cata {ClustBlock}R Documentation

Test the consistency of each attribute in a CATA experiment

Description

Permutation test on the agreement between subjects for each attribute in a CATA experiment

Usage

consistency_cata(Data,nblo, nperm=100, alpha=0.05, printAttrTest=FALSE)

Arguments

Data

data frame or matrix. Correspond to all the blocks of variables merged horizontally

nblo

numerical. Number of blocks (subjects).

nperm

numerical. How many permutations are required? Default: 100

alpha

numerical between 0 and 1. What is the threshold? Default: 0.05

printAttrTest

logical. Print the number of remaining attributes to be tested? Default: FALSE

Value

a list with:

References

Llobell, F., Giacalone, D., Labenne, A., Qannari, E.M. (2019). Assessment of the agreement and cluster analysis of the respondents in a CATA experiment. Food Quality and Preference, 77, 184-190.

See Also

consistency_cata_panel, change_cata_format, change_cata_format2

Examples


 data(straw)
#with only 40 subjects
consistency_cata(Data=straw[,1:(16*40)], nblo=40)
#with all subjects
consistency_cata(Data=straw, nblo=114, printAttrTest=TRUE)



[Package ClustBlock version 4.0.0 Index]