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 5, 2025, 7:18 a.m.