get_comp {ClustVarLV} | R Documentation |
latent components associated with each cluster
Description
To get the latent components associated with each cluster.
Usage
get_comp(resclv, K = NULL, graph = FALSE, cex.lab = 1)
Arguments
resclv |
: result of CLV(), CLV_kmeans(), LCLV(), CLV3W() or CLV3W_km() |
K |
: the number of clusters chosen (already defined if CLV_kmeans or CLV3W_kmeans is used) |
graph |
: boolean, if TRUE, the barplot associated with the scores is displayed (default : graph=FALSE) |
cex.lab |
: magnification to be used for labels (1 by default) |
Value
comp |
the group latent components (centered) |
Examples
data(apples_sh)
resclvX <- CLV(X = apples_sh$senso, method = "directional", sX = TRUE)
comp4G<-get_comp(resclvX, K = 4)