powered by
Correlation Circle Plot for Principal Component Analysis
ggpca_cor_circle( res.pca, axes = c(1, 2), proj = FALSE, interactive = TRUE, text_size = 3 )
A ggplot.
ggplot
The result of FactoMineR::PCA.
FactoMineR::PCA
The axes to print, as a numeric vector of length 2.
Set to `TRUE` to print projections of vectors over the two axes.
By default an html interactive plot is done. Set to `FALSE` to get a normal ggplot graph.
Size of the texte.
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)
Run the code above in your browser using DataLab