Learn R Programming

DistatisR (version 1.1.1)

DblCenterDist: Double Center a distance matrix

Description

Double Center a distance matrix

Usage

DblCenterDist(Y)

Value

a cross-product matrix (if the distance is Euclidean)

Arguments

Y

a "distance" matrix,

Examples

Run this code
Y <- toeplitz(c(0, 3, 3))
DblCenterDist(Y)

Run the code above in your browser using DataLab