pca_loadings_plot {structToolbox}R Documentation

pca_loadings_plot class

Description

2d scatter plot of princpal component loadings.

Usage

pca_loadings_plot(
  components = c(1, 2),
  style = "points",
  label_features = NULL,
  ...
)

Arguments

components

The principal components to plot (numeric(2))

style

Plot style for loadings. Can be 'points' (default) or 'arrows'.

label_features

'A list of labels to use, one for each feature. Special keyword "rownames" will use the rownames of the variable_meta data.frame'

...

additional slots and values passed to struct_class

Value

struct object

Examples

C = pca_loadings_plot()

[Package structToolbox version 1.0.1 Index]