View source: R/consistency_cata.R
consistency_cata | R Documentation |
Permutation test on the agreement between subjects for each attribute in a CATA experiment
consistency_cata(Data,nblo, nperm=100, alpha=0.05, printAttrTest=FALSE)
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 |
a list with:
consist: the consistent attributes
no_consist: the inconsistent attributes
pval: pvalue for each test
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.
consistency_cata_panel
, change_cata_format
, change_cata_format2
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.