In R, which function can be used to fit hierarchical clustering to a dataset ? code example
Example: hierarchical clustering plot in r
clusters <- hclust(dist(iris[, 3:4]))
plot(clusters)Copy
clusters <- hclust(dist(iris[, 3:4]))
plot(clusters)Copy