Description Usage Arguments Value
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.
1 | pca_loading_circle(model, dim = c(1, 2), min_cor = 0.3)
|
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. |
loadings |
Data of the variable loadings on the dimensions. |
plot |
The ggplot object. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.