cluster_corrmat: Re-orders a correlation matrix by hierarchical clustering

View source: R/cluster.R

cluster_corrmatR Documentation

Re-orders a correlation matrix by hierarchical clustering

Description

Re-orders a correlation matrix by hierarchical clustering

Usage

cluster_corrmat(mat, dist_method = "euclidean", link_method = "complete")

Arguments

mat

Correlation matrix or data frame

dist_method

The distance measure to be used. Accepts the same values as method parameter in ?dist.

link_method

The agglomeration/clustering method to be used. Accepts the same values as method parameter in ?hclust.

Value

An ordered matrix based on hierarchical clustering


kazeera/Hourglass documentation built on April 17, 2025, 3:08 a.m.