Reputation: 2441
When the output of factoextra::fviz_plot()
is transfered to interaction plot using plotly::ggplotly()
, the labels get lost. How to fix it?
library("FactoMineR")
library("factoextra")
res.pca <- prcomp(iris[, -5], scale = TRUE)
fviz_plot <- fviz_pca_biplot(res.pca,repel = TRUE)
plotly::ggplotly(fviz_plot)
Upvotes: 0
Views: 33