plot_var {ClustVarLV} | R Documentation |
Representation of the variables and their group membership
Description
Loading plot of the variables from a Principal Components Analysis. The group membership of the variables is superimposed.
Usage
plot_var(
resclv,
K = NULL,
axeh = 1,
axev = 2,
label = FALSE,
cex.lab = 1,
v_colors = NULL,
v_symbol = FALSE,
beside = FALSE
)
Arguments
resclv |
results of CLV(), CLV_kmeans() or LCLV() |
K |
the number of groups in the partition (already defined if CLV_kmeans is used) |
axeh |
component number for the horizontal axis |
axev |
component number for the vertical axis |
label |
= TRUE :the column names in X are used as labels / = FALSE: no labels (by default) |
cex.lab |
: magnification to be used for labels (1 by default) |
v_colors |
default NULL. If missing colors are given, by default |
v_symbol |
=TRUE : symbols are given isntead of colors for the identification of the groups/ =FALSE: no symbol (by default). |
beside |
=TRUE : a plot per cluster of variables, side-by-side/ =FALSE :an unique plot with all the variables with the identification of their group membership (by default). |
Examples
data(apples_sh)
resclvX <- CLV(X = apples_sh$senso, method = 1, sX = TRUE)
plot_var(resclvX, K = 4, axeh = 1, axev = 2)