bcluster.h {cata} | R Documentation |
b-cluster analysis by hierarchical agglomerative strategy
Description
Perform b-clustering using the hierarchical agglomerative clustering strategy.
Usage
bcluster.h(X, measure = "b", runs = 1, seed = 2021)
Arguments
X |
three-way array; the |
measure |
currently only |
runs |
number of runs (defaults to |
seed |
for reproducibility (default is |
Value
An object of class hclust
from hierarchical b-cluster
analysis results (a list of such objects if runs>1
), where each hclust
object has the structure described in hclust
as well as
the item retainedB
(a vector indicating the retained sensory
differentiation at each iteration (merger)).
References
Castura, J.C., Meyners, M., Varela, P., & Næs, T. (2022). Clustering consumers based on product discrimination in check-all-that-apply (CATA) data. Food Quality and Preference, 104564. doi:10.1016/j.foodqual.2022.104564.
Examples
data(bread)
# hierarchical b-cluster analysis on first 8 consumers and first 5 attributes
b <- bcluster.h(bread$cata[1:8,,1:5])
plot(as.dendrogram(b),
main = "Hierarchical b-cluster analysis",
sub = "8 bread consumers on 5 attributes")