simil_groups_cata {ClustBlock}R Documentation

Testing the difference in perception between two predetermined groups of subjects in a CATA experiment

Description

Test adapted to CATA data to determine whether two predetermined groups of subjects have a different perception or not. For example, men and women.

Usage

simil_groups_cata(Data, groups, one=1, two=2, nperm=50, Graph=TRUE,
  alpha= 0.05, printl=FALSE)

Arguments

Data

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

groups

categorical vector. The groups of each subject . The length must be the number of subjects.

one

string. Name of the group 1 in groups vector.

two

string. Name of the group 2 in groups vector.

nperm

numerical. How many permutations are required? Default: 50

Graph

logical. Should the CATATIS graph of each group be plotted? Default: TRUE

alpha

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

printl

logical. Print the number of remaining permutations during the algorithm? Default: FALSE

Value

a list with:

References

Llobell, F., Giacalone, D., Jaeger, S.R. & Qannari, E. M. (2021). CATA data: Are there differences in perception? JSM conference.
Llobell, F., Giacalone, D., Jaeger, S.R. & Qannari, E. M. (2021). CATA data: Are there differences in perception? AgroStat conference.

Examples


 data(straw)
 groups=sample(1:2, 114, replace=TRUE)
 simil_groups_cata(straw, groups, one=1, two=2)


[Package ClustBlock version 3.2.0 Index]