Description Usage Arguments Examples
A wrapper function to run hierarchical clustering
1 | 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 |
1 2 3 | 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.