run_hclust: A wrapper function to run hierarchical clustering

View source: R/run_hclust.R

run_hclustR Documentation

A wrapper function to run hierarchical clustering

Description

A wrapper function to run hierarchical clustering

Usage

run_hclust(x, method = "complete", dmeth = "euclidean")

Arguments

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

Examples

library(magrittr)
library(dplyr)
iris %>% select(-Species) %>% run_hclust()

martinctc/surveytools documentation built on Nov. 21, 2024, 10:48 p.m.