Skip to content

Warning message: The <scale> argument of guides() cannot be FALSE. Use "none" instead as of ggplot2 3.3.4. ℹ The deprecated feature was likely used in the factoextra package. #179

@14500066alga

Description

@14500066alga

Compute the dissimilarity matrix

res.dist <- dist(df, method = "euclidean")
as.matrix(res.dist)[1:6, 1:6]
1 2 3 4 5 6
1 0.000000 7.577243 6.215756 5.137701 7.146051 5.695027
2 7.577243 0.000000 6.097704 7.809434 7.141789 6.639220
3 6.215756 6.097704 0.000000 5.203198 5.532931 5.249436
4 5.137701 7.809434 5.203198 0.000000 5.987954 5.157740
5 7.146051 7.141789 5.532931 5.987954 0.000000 5.085715
6 5.695027 6.639220 5.249436 5.157740 5.085715 0.000000
res.hc <- hclust(d = res.dist, method = "ward.D2")
library(factoextra)
library(ggplot2)
fviz_dend(res.hc, cex = 0.5)

I am trying to visualize Agglomerative Hierarchical Clustering output in Dendrogram and got the following issue:
Warning message:
The <scale> argument of guides() cannot be FALSE. Use "none" instead as of
ggplot2 3.3.4.
ℹ The deprecated feature was likely used in the factoextra package.

Could someone explain what does it means and what is the solution to this?

Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions