factoextra icon indicating copy to clipboard operation
factoextra copied to clipboard

changing the linetype of the arrow in fviz_pca_biplot

Open MurliNair opened this issue 6 years ago • 2 comments

Hi, What is the variable I use to set the linetype of the arrow. I used arrow.linetype, it does not seem to have any effect. I need one set to be solid line and other to be dashed line. I would appreciate your input. Thx ../Murli

MurliNair avatar Jul 08 '18 20:07 MurliNair

@MurliNair from the help("fviz_pca_biplot") the function signature is,

fviz_pca_biplot(X, axes = c(1, 2), geom = c("point", "text"),
  geom.ind = geom, geom.var = c("arrow", "text"), col.ind = "black",
  fill.ind = "white", col.var = "steelblue", fill.var = "white",
  gradient.cols = NULL, label = "all", invisible = "none",
  repel = FALSE, habillage = "none", palette = NULL,
  addEllipses = FALSE, title = "PCA - Biplot", ...)

At the most one can set the geom=c("arrow"), and it seems there is no option to set the linetype of the arrow.

duttashi avatar Jul 31 '18 16:07 duttashi

Thanks for your comments. I have to check the additional parameters, if it has any options

MurliNair avatar Jul 31 '18 19:07 MurliNair