correlationDist: Calculate correlation distance between all rows of a matrix

View source: R/clusterUtils.R

correlationDistR Documentation

Calculate correlation distance between all rows of a matrix

Description

Using the correlation function from stats package

Usage

correlationDist(binMat, valNA = NULL, rescale = F)

Arguments

binMat

A matrix of numbers for which you want to calculate the distance between rows

valNA

Value to give NAs in matrix

rescale

Should matrix be rescaled from 0..1 range to -1..1 range?

Value

A distance object (lower triangle) with the distances between all rows of the input matrix


jsemple19/EMclassifieR documentation built on Aug. 12, 2022, 2:57 p.m.