bcluster.h | R Documentation |
Perform b-clustering using the hierarchical agglomerative clustering strategy.
bcluster.h(X, measure = "b", runs = 1, seed = 2021)
X |
three-way array; the |
measure |
currently only |
runs |
number of runs (defaults to |
seed |
for reproducibility (default is |
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)).
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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.foodqual.2022.104564")}.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.