CLV3W_kmeans {ClustVarLV} | R Documentation |
Partitioning algorithm of a set of variables (associated with mode 2) oh a three-way array
Description
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_kmeans(X,K,mode.scale=0,NN=FALSE,init=10,cp.rand=5)
Arguments
X |
: a three way array - variables of mode 2 will be clustered |
K |
: number of clusters |
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) |
init |
: either the number of random starts i.e. partitions generated for the initialisation (By default init=10) |
cp.rand |
: number of random starts associated with the one rank Candecomp/Parafac model (By default cp.rand=10) |
Value
results |
|
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
summary.clv3W, print.clv3W
Examples
data(coffee)
## Cluster Analysis of coffee sensory descriptors with block scaling
## to set the assessors to the same footing
res.coffee <- CLV3W_kmeans(coffee,K=2,NN=TRUE,mode.scale=3,init=1,cp.rand=1)
summary(res.coffee)
get_partition(res.coffee)