Entering edit mode
7.6 years ago
arronar
▴
290
Hello.
I'm running a PCA analysis on R with 62 variables and when creating the biplot some vectors are getting on top of others and i cannot read their labels (see pic). Is there any way to make them more readable.
I used the factoextra package to plot it by running
fviz_pca_biplot(res.pca)
Thank you.
you could remove the black dot labels with
fviz_pca_biplot(res.pca, label ="var")
or you can simply get rid of black dots withfviz_pca_biplot(res.pca, invisible ="ind")
. once you remove black dots, if you use xlim and ylim that only encircles your blue arrows. say your arrows are within the x axis range -3,2 while y axis range is 1,5 to -2 then dofviz_pca_biplot(res.pca, invisible ="ind") + xlim(-3,2) + ylim(-2,1.5)
. I think this might widen the spaces.Thank you very much. Seems that it works.