I just followed the tutorial trying to do clustering on my own data, but I can't visualize it because
fviz_cluster function is giving me an error:
Error in if (xlab == "x") xlab <- "x value" : argument is of length zero
Here is the code I am running:
library("fpc") db <- fpc::dbscan(rtsne$Y, eps = 0.15, MinPts = 5) # Plot DBSCAN results library("factoextra") fviz_cluster(db, data = rtsne$Y, stand = FALSE, ellipse = FALSE, show.clust.cent = FALSE, geom = "point",palette = "jco", ggtheme = theme_classic())
How can I make
fviz_cluster function working?
Filed a bug: https://github.com/kassambara/factoextra/issues/62