CLV3W {ClustVarLV} | R Documentation |
Hierarchical clustering of variables (associated with mode 2 three-way array) with consolidation
Description
Hierarchical Cluster Analysis of a set of variables (mode 2) given a three-way array with a further consolidation step. Each group of variables is associated with a one-rank PARAFAC model (comp x loading x weight). Moreover, a Non Negativity (NN) constraint may be added to the model, so that the loading coefficients have positive values. Return an object of class clv3w.
Usage
CLV3W(X,mode.scale=0,NN=FALSE,moddendoinertie=TRUE,gmax=20,graph=TRUE,cp.rand=10)
Arguments
X |
: a three way array - variables of mode 2 will be clustered |
mode.scale |
: scaling parameter applied to X, by default centering of X (for mode 2 x mode 3) is done. By default no scaling (mode.scale=0) |
NN |
: non Negativity constraint to be added on the loading coefficients. By default no constraint (NN=FALSE) |
moddendoinertie |
: dendrogram. By default it is based on the delta clustering criterion (moddendoinertie =TRUE) |
gmax |
: maximum number of partitions for which the consolidation will be done (default : gmax=11) |
graph |
: boolean, if TRUE, the graphs associated with the dendrogram and the evolution of the aggregation criterion are displayed (default : graph=TRUE) |
cp.rand |
: number of random starts associated with the one rank Candecomp/Parafac model (By default cp.rand=10) |
Value
tabres |
Results of the hierarchical clustering algorithm. In each line you find the results of one specific step of the hierarchical clustering.
|
hclust |
contains the results of the HCA |
partition K |
contains a list for each number of clusters of the partition, K=1 to gmax with
|
param |
contains the clustering parameters
|
call : call of the method
Author(s)
Veronique Cariou, veronique.cariou@oniris-nantes.fr
References
Wilderjans, T. F., & Cariou, V. (2016). CLV3W: A clustering around latent variables approach to detect panel disagreement in three-way conventional sensory profiling data. Food quality and preference, 47, 45-53.
Cariou, V., & Wilderjans, T. F. (2018). Consumer segmentation in multi-attribute product evaluation by means of non-negatively constrained CLV3W. Food Quality and Preference, 67, 18-26.
See Also
CLV3W_kmeans, get_comp, get_loading, get_partition, plot, plot_var.clv3w,
Examples
data(ciders)
## Cluster Analysis of cider sensory descriptors with block scaling
## to set the assessors to the same footing
res.cider<-CLV3W(ciders,mode.scale=3,NN=FALSE,moddendoinertie=FALSE,gmax=20,graph=FALSE,cp.rand=5)
plot(res.cider,type="delta")
plot(res.cider,type="dendrogram")
print(res.cider)
summary(res.cider,2)
get_comp(res.cider,2)
get_loading(res.cider,2)
get_weight(res.cider,2)