hcorr: Calculate (ordered) pairwise correlation matrix

Description Usage Arguments Value

Description

Calculate (ordered) pairwise correlation matrix

Usage

1
hcorr(mat, method.cor = "pearson", order = TRUE, melt = FALSE, ...)

Arguments

mat

matrix of vars. vs. obs. to be correlated.

method.cor

distance metric for calculating correlations.

order

if TRUE, corr object will be returned with vars ordered by hc.

melt

if TRUE, input matrix will be converted to tidy/long format.

...

other args passed to cor.

Value

matrix of vars. vs. vars correlation scores.


jlaffy/hcluster documentation built on May 23, 2019, 4:03 a.m.