Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_comp

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)

ClustVarLV

Clustering of Variables Around Latent Variables

v2.0.1
GPL-3
Authors
Evelyne Vigneau [aut, cre], Mingkun Chen [ctb], Veronique Cariou [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.