pca_loading_circle: Loadings Circle

Description Usage Arguments Value

Description

This function creates a unity circle aswell as the correlations between the original variables and the principal components of your PCA model. You can choose which dimensions to plot, aswell as the threshold for correlations to be shown.

Usage

1
pca_loading_circle(model, dim = c(1, 2), min_cor = 0.3)

Arguments

model

The PCA model from FactoMineR.

dim

The dimensions to be plotted. Defaults to c(1,2).

min_cor

The minimal correlation value to plot arrow. Defaults to .3.

Value

loadings

Data of the variable loadings on the dimensions.

plot

The ggplot object.


Dynge/r_dynge documentation built on July 1, 2019, 11:21 p.m.