catatis {ClustBlock}R Documentation

Perform the CATATIS method on different blocks of binary data from a CATA experiment

Description

CATATIS method on binary blocks. Additional outputs are also computed

Usage

catatis(Data,nblo,NameBlocks=NULL, NameVar=NULL, Graph=TRUE, Graph_weights=TRUE)

Arguments

Data

data frame or matrix where the blocks of binary variables are merged horizontally. If you have a different format, see change_cata_format

nblo

numerical. Number of blocks (subjects).

NameBlocks

string vector. Name of each block (subject). Length must be equal to the number of blocks. If NULL, the names are S1,...Sm. Default: NULL

NameVar

string vector. Name of each variable (attribute, the same names for each subject). Length must be equal to the number of attributes. If NULL, the colnames of the first block are taken. Default: NULL

Graph

logical. Show the graphical representation? Default: TRUE

Graph_weights

logical. Should the barplot of the weights be plotted? Default: TRUE

Value

a list with:

References

Llobell, F., Cariou, V., Vigneau, E., Labenne, A., & Qannari, E. M. (2019). A new approach for the analysis of data and the clustering of subjects in a CATA experiment. Food Quality and Preference, 72, 31-39.

See Also

plot.catatis, summary.catatis, cluscata, change_cata_format

Examples

data(straw)
res.cat=catatis(straw, nblo=114)
summary(res.cat)


[Package ClustBlock version 2.4.0 Index]