get_loading: Loadings of the variables on the latent component, in each...

View source: R/get_loading.R

get_loadingR Documentation

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

Description

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.

Usage

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)

Value

loading

the loadings of the variables on each cluster's latent component


ClustVarLV documentation built on May 28, 2022, 5:05 p.m.