Learn R Programming

cata (version 0.1.0.27)

Analysis of Check-All-that-Apply (CATA) Data

Description

Package contains functions for analyzing check-all-that-apply (CATA) data from consumer and sensory tests. Cochran's Q test, McNemar's test, and Penalty-Lift analysis are provided; for details, see Meyners, Castura & Carr (2013) . Cluster analysis can be performed using b-cluster analysis, then evaluated using various measures; for details, see Castura, Meyners, Varela & Næs (2022) . Methods are adapted to cluster consumers based on their product-related hedonic responses; for details, see Castura, Meyners, Pohjanheimo, Varela & Næs (2023) . Permutation tests based on the L1-norm methods are provided; for details, see Chaya, Castura & Greenacre (2025) .

Copy Link

Version

Install

install.packages('cata')

Monthly Downloads

352

Version

0.1.0.27

License

GPL (>= 2)

Maintainer

J C Castura

Last Published

February 25th, 2025

Functions in cata (0.1.0.27)

bcluster

Wrapper function for b-cluster analysis
selectionPlot

Plot variation in retained sensory differentiation
salton

Salton's cosine measure
mcnemarQ

McNemar's test
inspect

Inspect/summarize many b-cluster analysis runs
mad.dist

MAD distances between objects
homogeneity

Calculate within-cluster homogeneity
plift

Penalty-Lift Analysis
Consumer CATA data set: squashes

Consumer CATA data set: squashes
rv.coef

Calculate \(RV\) Coefficient
madperm

Permutation tests for CATA data
topc

Apply top-c choices coding to a vector of scale data from a respondent
toWideMatrix

Converts 3d array of CATA data to a wide 2d matrix format
toMatrix

Converts 3d array of CATA data to a tall 2d matrix format
ARI

Adjusted Rand index
barray

Convert 3d array of CATA data to 4d array of CATA differences
getb

Calculate the b-measure
cochranQ

Cochran's Q test
evaluateClusterQuality

Evaluate Quality of Cluster Analysis Solution
bcluster.n

b-cluster analysis by non-hierarchical iterative ascent clustering strategy
Consumer CATA data set: bread

Consumer CATA data set: bread
code.topk

Apply top-k box coding to scale data
bcluster.h

b-cluster analysis by hierarchical agglomerative strategy