Custom labels using ade4 and factoextra packages

1.1k Views Asked by At

I want to make and plot PCA with ade4 package and then customize with factoextra. It works very well with both packages until I realize my biplot with factoextra, I don't know how to customize labels.

I would only know if somebody can help me with the following code I wrote:

fviz_pca_biplot(acp,geom=c("point","arrow"),label="var",col.circle="grey70",labelsize=4,alpha.var ="cos2",col.var="red",habillage = Biot,addEllipses =TRUE, ellipse.level = 0.95) +
  scale_shape_manual(values=seq(0,15))+
  scale_color_brewer(palette="Spectral")+
  theme_minimal()

That gave me this biplot:

enter image description here

I would have variable's name as "Cocco", "Crypto", "Diato" instead of "biot.Conc_cocco", "biot.conc_Crypto"

Thanks for your answers and advices

0

There are 0 best solutions below