get_loading function

Loadings of the variables on the latent component, in each cluster.

Loadings of the variables on the latent component, in each cluster.

To get the variables loadings for the latent component in each cluster.

For CLV(_kmeans), the loadings are of particular interest when method="directional" or when strategy="sparse LV"

For CLV3W(_kmeans), the loadings are given for the variables associated with mode 2 of the 3-way array.

get_loading(resclv, K = NULL, type = "list", graph = FALSE, cex.lab = 1)

Arguments

  • resclv: : result of CLV(), CLV_kmeans(), LCLV(), CLV3W() or CLV3W_kmeans()
  • K: : the number of clusters chosen (already defined if CLV_kmeans or CLV3W_kmeans is used)
  • type: : outputs in the form of a "list" (one element by cluster, by default) or a "vector" (available only if "sparselv" strategy 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)

Returns

  • loading: the loadings of the variables on each cluster's latent component
  • Maintainer: Evelyne Vigneau
  • License: GPL-3
  • Last published: 2022-05-28

Useful links