SumSqMatrixRows: Calculate the sum of square distances between rows of a...

View source: R/clusterUtils.R

SumSqMatrixRowsR Documentation

Calculate the sum of square distances between rows of a matrix

Description

Calculate the sum of square distances between rows of a matrix

Usage

SumSqMatrixRows(dataMatrix, distMetric = list(name = "euclidean", rescale = F))

Arguments

dataMatrix

A matrix for which to calcluate the sum of the sum of square distances between its rows.

distMetric

A list with the name of the distance metric and any parameters it might require

Value

Numeric. The sum of the square distances between the rows of the matrix.


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