ggpca_cor_circle | R Documentation |
Correlation Circle Plot for Principal Component Analysis
ggpca_cor_circle(
res.pca,
axes = c(1, 2),
proj = FALSE,
interactive = TRUE,
text_size = 3
)
res.pca |
The result of |
axes |
The axes to print, as a numeric vector of length 2. |
proj |
Set to 'TRUE' to print projections of vectors over the two axes. |
interactive |
By default an html interactive plot is done. Set to 'FALSE'
to get a normal |
text_size |
Size of the texte. |
A ggplot
.
data(mtcars, package = "datasets")
mtcars <- mtcars[1:7] |> dplyr::rename(weight = wt)
res.pca <- FactoMineR::PCA(mtcars, graph = FALSE)
ggpca_cor_circle(res.pca, interactive = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.