run_hclust | R Documentation |
A wrapper function to run hierarchical clustering
run_hclust(x, method = "complete", dmeth = "euclidean")
x |
Data frame to run hierarchical clustering |
method |
Specify method for hierarchical clustering. See ?hclust for details |
dmeth |
Specify method for calculating distance. See ?dist for details |
library(magrittr)
library(dplyr)
iris %>% select(-Species) %>% run_hclust()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.