Why are some points in a PCA biplot larger than others? Unfortunately, I couldn't find an explanation in the help documentation.
Example:
# Load required library
library(factoextra)
# Perform PCA using prcomp
iris_pca <- prcomp(iris[, 1:4], scale. = TRUE)
# Create a biplot
fviz_pca_biplot(iris_pca,
habillage = iris$Species)

What you're seeing is not a size scale, but the mean of each group. This seem to be documented only in
factoextra::fviz, not the wrappers. Elsewhere this is passed via...toggpubr::ggscatter, which has the following argument thatfactoextrasets toTRUEby default:Can be disabled like so: