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)
For results of CLV(_kmeans), the latent components returned have their own norm
For results of CLV3W(_kmeans), the latent component associated with mode 1 (centered, but not standardized)
For results of LCLV, two types of latent components are available :
compt : The latent components of the clusters defined according to the Xr variables,
compc : The latent components of the clusters defined according to the Xu variables

Examples

data(apples_sh)
resclvX <- CLV(X = apples_sh$senso, method = "directional", sX = TRUE)
comp4G<-get_comp(resclvX, K = 4) 


[Package ClustVarLV version 2.1.1 Index]